Using outbound Telnet to another device
Telnet to another device
Syntax:
telnet
<link-local–addr> %vlan
<vid>
telnet
<global–unicast–addr>
Outbound Telnet establishes a Telnet session from the switch CLI to another IPv6 device and includes these options.
Telnet for link-local addresses on the same VLAN requires the link-local address and interface scope:
<link-local–addr>
: Specifies the link-local IPv6 address of the destination device.%vlan <vid>
: Suffix specifying the interface on which the destination device is located. No spaces are allowed in the suffix.Telnet for global unicast addresses requires a global unicast address for the destination. Also, the switch must be receiving RAs from an IPv6 gateway router.<global–unicast–addr>: Specifies the global IPv6 address of the destination device.
To Telnet to another IPv6 device having a link-local address of fe80::215:60ff:fe79:8980 and on the same VLAN interface (VLAN 10), use the following command:
Switch(config)# telnet fe80::215:60ff:fe79:980%vlan10
If the switch is receiving RAs from an IPv6 default gateway router, you can Telnet to a device on the same VLAN or another VLAN or subnet by using its global unicast address.
To Telnet to a device having an IPv6 global unicast address of 2001:db8::215:60ff:fe79:980, enter the following command:
Switch(config)# telnet 2001:db8::215:60ff:fe79:980