51
Global Mode
ip telnet server
no ip telnet server
Enable the Telnet server function in the
switch: the
“no ip telnet server”
command disables the Telnet function.
telnet-server securityip <ip-addr>
no telnet-server securityip <ip-addr>
Configure the secure IP address to
login to the switch through Telnet: the
“
no telnet-server securityip
<ip-addr>“ command deletes the
authorized Telnet secure address.
Admin Mode
monitor
no monitor
Display debug information for Telnet
client login to the switch; the “
no
monitor” command disables the
debug information.
2. Telnet to a remote host from the switch
2.2.3.3 Command For Telnet
2.2.3.3.1 telnet
Command: telnet {<ip-addr> | <ipv6-addr> | host <hostname>} [<port>]
Function:
Log on the remote host by Telnet
Parameter:<ip-addr>
is the IP address of the remote host,shown in dotted decimal
notation;
<ipv6-addr>
is the IPv6 address of the remote host;
<hostname>
is the name of
the remote host,containing max 30 characters;
<port>
is the port number,ranging
between 0~65535.
Command Mode:
Admin Mode
Usage Guide:
This command is used when the switch is applied as Telnet client, for
logging on remote host to configure. When a switch is applied as a Telnet client, it can
only establish one TCP connection with the remote host. To connect to another remote
host, the current TCP connection must be disconnected with a hotkey “CTRL+ |”. To
telnet a host name, mapping relationship between the host name and the IP/IPv6
address should be previously configured. For required commands please refer to ip host
and ipv6 host. In case a host corresponds to both an IPv4 and an IPv6 addresses, the
IPv6 should be preferred when telneting this host name.
Command Explanation
Admin Mode
telnet [<ip-addr>] [<port>]
Login to a remote host with the
Telnet client included in the switch.