mac

Commands for Basic Switch Configuration
57
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.
Example: The switch telnets to a remote host whose IP address is 20.1.1.1.
Switch#telnet 20.1.1.1 23
Connecting Host 20.1.1.1 Port 23...
Service port is 23
Connected to 20.1.1.1
login:123
password:***
router>
1.2.13 telnet server enable
Command: telnet server enable
no telnet server enable
Function: Enable the Telnet server function in the switch: the “no telnet server enable
command disables the Telnet function in the switch.
Default: Telnet server function is enabled by default.
Command mode: Global Mode
Usage Guide: This command is available in Console only. The administrator can use
this command to enable or disable the Telnet client to login to the switch.
Example: Disable the Telnet server function in the switch.
Switch(config)#no telnet server enable
1.2.14 telnet-server max-connection
Command: telnet-server max-connection {<max-connection-number> | default}
Function: Configure the max connection number supported by the Telnet service of the
switch.