Ruijie Community

Title: How to enable the telnet function of S5310 Series Switch? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-11-14 14:59
Title: How to enable the telnet function of S5310 Series Switch?
The Telnet function of S5310 series is diabled by default. You can enable it by following commands:

Log in to the switch through the console line, enable the remote login password of the switch and configure the enable password.

1. For the console login method setting, please refer to "Daily Maintenance >Device Login > Console Login"

2. Configure the switch management IP
Ruijie>enable ------>Enter privileged mode

Ruijie#configure terminal ------>Enter global configuration mode

Ruijie(config)#enable service telnet-server------>Enabled by default (53-e, 56-series are not enabled by default and need to be configured)

Ruijie(config)#interface vlan 1 ------>Enter vlan 1 interface

Ruijie(config-if)#ip address 192.168.1.1255.255.255.0 ------>Set the management ip on the vlan 1 interface

Ruijie(config-if)#exit ------>Return to globalconfiguration mode

3. Configure telnet password

Requirement 1: Use password to log in to the switch during telnet

Ruijie(config)#line vty 0 4 ------> Enter thetelnet password configuration mode. 0 4 means a total of 5 users are allowed to log in to the switch via telnet at the same time.

Ruijie(config-line)#login ------>Enablerequiring a password for successful telnet

Ruijie(config-line)#password ruijie ------> Setthe telnet password to ruijie

Ruijie(config-line)#exit ------> Return toglobal configuration mode

Ruijie(config)#enable password ruijie------>Configure the password to enter privileged mode as ruijie

Ruijie(config)#end ------>Exit to privileged mode

Ruijie#write ------>Confirm that the configuration is correct and save the configuration

Confirm whether the telnet configuration is correct






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2