Ruijie Community

Title: How to use AAA authentication for telnet login on Ruijie Switch? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-6-11 17:23
Title: How to use AAA authentication for telnet login on Ruijie Switch?
Requirements
Use different accounts to telnet login the device, and different accounts have different permissions
Topology

Configuration

Ruijie>enable

Ruijie#configure terminal

Ruijie(Config)#aaa new-model

Ruijie(Config)#enable service telnet-server

Device(config)#username host1 privilege 15 passwordpassword1 ------create account host1

Device(config)#username host2 privilege 4 passwordpassword2 ------create account host2

Device(config)# aaa authentication loginlogin-method local

Device(config)# line vty 0 4

Device(config)#login authentication login-method----Apply the authentication method


Test : Telnet login test with host1 account
User Access Verification
Username:host1
Password:password1
Device# show privilege ---View permissions for thecurrent account
Current privilege level is 15





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