Configure Remote Login via Telnet
Configuration Condition
None
Enable Telnet service of Device
A user can log in to the device remotely through Telnet for management and maintenance. Before using the Telnet service, enable the Telnet service of the device. After the Telnet service of the device is enabled, the Telnet service port 23 is monitored.
Table 2‑2 Enabling the Telnet Service of the Device
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the Telnet service of the device.
|
telnet server enable
|
Mandatory.
By default, the Telnet service is enabled.
|
Take Device as Telnet Client for Remote Login
The user takes the device as a Telnet client to log in to the specified Telnet server for configuration and management.
Table 2-3 Taking the Device as a Telnet Client for Remote Login
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the Telnet client of the device.
|
telnet client enable
|
Optional.
By default, the Telnet client is enabled.
|
Take the device as a Telnet client for remote login.
|
telnet [ vrf vrf-name ]
{ hostname | remote-host }
[ port-number ] [ ipv4 | ipv6 ]
[ source-interface
interface-name ]
|
Mandatory.
|

-
The Telnet client can log in to a remote device only when the Telnet server function of the remote device is enabled, and the network between the Telnet client and the remote device is normal.