Use this command to start a Telnet connection to a remote host. The S- K- and 7100-Series devices allow a total of four inbound and / or outbound Telnet session to run simultaneously.
host | Specifies the host name or IP address of the remote host this Telnet session is connecting to. |
port | (Optional) Specifies the host port to connect to on the remote host. Default value: 23. |
-s src-addr | (Optional) Specifies the IP address to transmit from when there are multiple interfaces and or addresses. |
-4 | (Optional) Specifies that this session only supports IPv4 addressing. |
-6 | (Optional) Specifies that this session only supports IPv6 addressing. |
-vrf router | (Optional) Specifies the router on which to source this SSH session. Valid values: default. |
-r | (Optional) Specifies that normal routing table lookup should be bypassed and that the session request should be sent directly to a host on an attached network. |
All command modes.
Any desired options must be entered on the command line prior to specifying the remote host and its optional port.
The -4 and -6 flags are used when the host is a domain name as opposed to a IPv4 or IPv6 address. A DNS server may return multiple responses, some of which may be IPv4 addresses and some of which may be IPv6 addresses. If the returned address type matters, then these flags let you choose which type will be accepted.
The -s and -r options are both intended for when the route table is invalid for some reason and you are using Telnet to debug it.
This example shows how to start a Telnet session to a host at 10.21.42.13:
System(rw)->telnet 10.21.42.13