2.7. Telnet Commands

2.7.1. telnet

Command Purpose

Use this command from the switch to access the other devices in the network.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

telnet ( -a SRC_ADDR ) ( vrf WORD | mgmt-if ) HOST ( PORT | )

Parameter

Parameter Description

Parameter Value

-a SRC_ADDR

Telnet with assigned IP

-

vrf WORD

VPN Routing/Forwarding instance

A string with 1-15 characters

mgmt-if

Management port

-

HOST

IPv4, IPv6 address or name of the remote host

Support IPv4/IPv6 address or hostname

PORT

TCP Port number

1-65535

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to Telnet from the switch to a remote host:

Switch# telnet mgmt-if 10.10.29.247

Entering character mode
Escape character is '^]'.
TestOS, Version 2.3(62), fcs
Switch# telnet 2001:1000::1
Entering character mode
Escape character is '^]'.

2.7.2. ip telnet server source address

Command Purpose

To configure the source address of telnet server on your switch, use the telnet server source address command in Global Config. To restore the default value, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ip telnet server source address ( vrf NAME | ) IP_ADDR

no ip telnet server source address

Parameter

Parameter Description

Parameter Value

vrf NAME

Specify a vrf to provide telnet server

A string with 1-15 characters

IP_ADDR

Configure IP address for telnet server working inband

IPv4 Address

Command Mode

Global Config

Default

None

Usage

You can use this command to modify the address which telnet server works on, and specify a vrf to provide telnet server. The source address can only be 0.0.0.0 or loopback interface’s address, 0.0.0.0 indicates that the SSH server address is not specified.

Examples

The following example shows how to specify telnet server source address:

Switch# configure terminal
Switch(config)# ip telnet server source address vrf vpn1 10.10.10.1

Related Commands

None

2.7.3. ip telnet server source port

Command Purpose

To configure the TCP port for telnet server working inband on your switch, use the telnet server source command in Global Config. To restore the default value, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ip telnet server source port NUMBER

no ip telnet server source port

Parameter

Parameter Description

Parameter Value

port NUMBER

Configure TCP port for telnet server working inband

1025-65535

Command Mode

Global Config

Default

None

Usage

The CLI of no telnet server source port will configure TCP port for telnet server working inband with default value of 23.

Examples

The following example shows how to set the TCP port for telnet server working inband on the switch :

Switch# configure terminal
Switch(config)# ip telnet server source port 2323

Related Commands

None

2.7.4. ip telnet server source mgmt-if port

Command Purpose

To configure the TCP port for telnet server working outband on your switch, use the telnet server source command in Global Config. To restore the default value, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ip telnet server source mgmt-if port NUMBER

no ip telnet server source mgmt-if port

Parameter

Parameter Description

Parameter Value

mgmt-if port NUMBER

Configure TCP port for telnet server working outband

1025-65535

Command Mode

Global Config

Default

None

Usage

The CLI of no telnet server sourc mgmt-if port will configure TCP port for telnet server working outband with default value of 23.

Examples

The following example shows how to set the TCP port for telnet server working outband on the switch :

Switch# configure terminal
Switch(config)# ip telnet server source mgmt-if port 2323

Related Commands

None