
1-82
1.2.16 telnet
Command:
telnet [vrf
<
vrf-name
>] {<
ip-addr>
| <
ipv6-addr
> | host
<hostname>
} [<
port
>]
Function:
Login on the remote host by Telnet
Parameter:
<
vrf-name
>
is the specific VRF name;
<ip-addr>
is the IP address of the remote host, shown in dotted decimal
notation;
<
ipv6-addr
>
is the IPv6 address of the remote host;
<hostname>
is the name of the remote host,
containing max 64 characters;
<
port
>
is the port number, ranging between 0 and 65535.
Command Mode:
Admin Mode.
Usage Guide:
This command is used when the switch is applied as Telnet client, for logging on remote host to configure. When a
switch is applied as a Telnet client, it can only establish one TCP connection with the remote host. To connect to
another remote host, the current TCP connection must be disconnected with a hotkey
“CTRL+ \”. To telnet a host
name, mapping relationship between the host name and the IP/IPv6 address should be previously configured. For
required commands please refer to ip host and ipv6 host. In case a host corresponds to both an IPv4 and an IPv6
addresses, the IPv6 should be preferred when telneting this host name.
Example:
The switch telnets to a remote host whose IP address is 20.1.1.1.
Switch#telnet 20.1.1.1 23
Connecting Host 20.1.1.1 Port 23...
Service port is 23
Connected to 20.1.1.1
login:123
password:***
router>