49
DCS-3950 series Ethernet switch manual
Then telnet the remote host through the host name.
Switch#config
Switch(Config)#ip host aa 20.1.1.1
Switch(Config)#exit
Switch#telnet aa 23
Trying 20.1.1.1...
Service port is 23
Connected to 20.1.1.1
login:123
password:***
router>
Relative Command:ip host
5.2.2.3.4 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 can only be invoked within the Console port. And remote
telnet session to the switch can be enabled or disabled through this command.
Example: Disable the telnet server for the switch.
Switch(Config)#no telnet-server enable
5.2.2.3.5 telnet-server securityip
Command: telnet-server securityip <ip-addr>
no telnet-server securityip <ip-addr>
Function: Configure the secure IP address of Telnet client allowed to login to the switch;
the ‘no telnet-server securityip <ip-addr>‘ command deletes the authorized Telnet
secure address.
Parameter: <ip-addr> is the secure IP address allowed to access the switch, in dot
decimal format.
Default: no secure IP address is set by default.
Command mode: Global Mode
Usage Guide: IP address of telnet client to the switch is not restricted before secure IP
address is configured. Only the host in the secure IP address list can telnet to the remote
switch. Multiple security ip address can be configure at the same time.
Example: Set 192.168.1.21 as the secure ip address.
Switch(Config)#telnet-server securityip 192.168.1.21