telnet

Establishes a Telnet session to a remote networking device.

Syntax

telnet IP_address [ port-number port_number ] [ vrf name ]
telnet hostname } [ port-number port_number ] [ interface { ethernet slot/port } | management | {ve number } ] [ vrf name ]

Command Default

The default port is 23.

Parameters

IP_address
The server IP address in either IPv4 or IPv6 format.
port-number port
Specifies the port number in the remote device to connect to. Range is from 0 through 65535. For the connection to succeed, a TCP server must be listening for client connections at the specified port.
vrf vrf-name
Specifies a VRF instance. See the Usage Guidelines.
hostname
Specifies the host name which is a string between 1 and 63 ASCII characters in length.
port-number port
Specifies the port number in the remote device to connect to. Range is from 0 through 65535. For the connection to succeed, a TCP server must be listening for client connections at the specified port.
interface
Specifies an interface.
ethernet slot/port
Specified the Ethernet interface slot and port number.
management
Specifies the management interface.
ve VE-id
Specifies the VE interface number.

Modes

Privileged EXEC mode

Usage Guidelines

You can override the default port. However, the device must be listening on this port for the connection to succeed.

The following features are not supported:

Examples

The following example establishes a Telnet connection to a remote device.

device# telnet 10.20.51.68 vrf mgmt-vrf