User Manual

Table Of Contents
[Example]
Permit access to the TELNET server only from 192.168.1.1 and the 192.168.10.0/24 segment.
SWP2(config)#telnet-server access permit 192.168.1.1
SWP2(config)#telnet-server access permit 192.168.10.0/24
Deny only access to the TELNET server from the segment 192.168.10.0/24.
SWP2(config)#telnet-server access deny 192.168.10.0/24
SWP2(config)#telnet-server access permit any
4.16 Telnet client
4.16.1 Start Telnet client
[Syntax]
telnet host [port]
[Parameter]
host : Remote host name, IPv4 address (A.B.C.D), or IPv6 address(X:X::X:X)
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
port : <1-65535>
Port number to use (if omitted: 23)
[Initial value]
none
[Input mode]
priviledged EXEC mode
[Description]
Connects to the specified host via Telnet.
[Example]
Connect via Telnet to port number 12345 of the host at IPv4 address 192.168.100.1.
SWP2#telnet 192.168.100.1 12345
Connect via Telnet to port number 12345 of the host at IPv6 address fe80::2a0:deff:fe11:2233.
SWP2#telnet fe80::2a0:deff:fe11:2233%vlan1 12345
4.16.2 Enable Telnet client
[Syntax]
telnet-client switch
no telnet-client
[Parameter]
switch : Whether to enable TELNET client
Setting value Description
enable Enable
disable Disable
[Initial value]
telnet-client disable
[Input mode]
global configuration mode
Command Reference | Maintenance and operation functions | 83