Configure Telnet to Access to the Remote Device
Before using the telnet command to connect to a Telnet server, the Telnet client and the Telnet server need to be route reachable, and the Telnet service must be enabled on the Telnet server side.
Run the following command to Telnet to the server via IPv4/IPv6 address or host name:
telnet {<ip-address>|<host-name>} [<port-number>] [vrf <vrf-name>]
<ip-address>|<host-name>: Specifies the IPv4/IPv6 address or host name of a remote system.
<port-number>: Optional. Specifies the TCP port number on which the remote device provides Telnet service. The default port number is 23 which do not need to specified.
<vrf-name>: Optional. Specifies the name of the VRF for the telnet connection. When a VRF name is specified, find the next hop routing information from the specified VRF domain. When no VRF is specified, find the next hop routing information from the default VRF.
Example
Establish a Telnet connection with a remote device in default VRF.
admin@PICOS> telnet 10.10.51.205 vrf mgmt-vrf
Trying 10.10.51.205...
Connected to 10.10.51.205.
Escape character is '^]'.
User Access Verification
Username:
Establish a Telnet connection with a remote device in management VRF.
admin@PICOS> telnet 10.10.51.25 vrf mgmt-vrf
Trying 10.10.51.205...
Connected to 10.10.51.205.
Escape character is '^]'.
User Access Verification
Username:
Copyright © 2024 Pica8 Inc. All Rights Reserved.