Telnet is an application protocol used on the Internet or local area network to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection.
Next, a small scenario is carried out where a serial cable is connected from the PC to the Ruijie Switch and assign an IP address for the management of the Switch by Telnet.
- Console connect to device
- Set ip and gateway
ruijie(config)#interface vlan 1
ruijie(config-if-VLAN 1)#ip address 192.168.1.1 255.255.255.0
ruijie(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2
- Set telnet password
ruijie(config)#line vty 0 4
ruijie(config-line)#password ruijie
- Set enable password
Ruijie(config)#enable password ruijie