Ruijie Community

Title: How can I do if I want only anministrators access to the device by telnet, but other users will be limited? [Print this page]

Author: GTAC-Eureka    Time: 2022-6-6 15:28
Title: How can I do if I want only anministrators access to the device by telnet, but other users will be limited?
Edited by Eureka at 2022-6-6 15:29

Networking Requirements
The users in the 192.168.10.0/24 network segment can access to local switch by telnet.

Network Topology




Configuration Points
1.Before configuring the following steps, please make sure that you can access to the switch by telnet and SSH normally.
2. Configure ACL
3. Apply ACL under VTY interface

Configuration Steps
Step1: Configure ACL

Ruijie>en

Ruijie#config ter

Ruijie(config)#ip access-list extended 100

Ruijie(config-ext-nacl)#5 permit ip 192.168.10.0 0.0.0.255 any----->Only the administrator network segment is allowed to access the switch

Ruijie(config-ext-nacl)#exit





Step2: Apply ACL under vty interface

Ruijie(config)#line vty 0 4

Ruijie(config-line)#login

Ruijie(config-line)#password ruijie

Ruijie(config-line)#access-class 100 in

Step3: Save running-configuration

Ruijie(config-line)#end

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








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