Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure AAA Login local authentication and radius authentication? Reply

GTAC-Sophia

Level 4

Ruijie Staff

How to configure AAA Login local authentication and radius authentication?
1456 0 2023-1-30 15:47:30
Original
1. Networking requirements
Configure the AAA list to be invoked during telnet and SSH login.
2. Topology

3. Key points
1. Switch can be connected through telnet and SSH.
2. Configure AAA local authentication.
3. Configure AAA radius authentication.
4. Configuration step:

(1) AAA local authentication
Ruijie>enable
Ruijie#config terminal
Ruijie(config)#username admin1 password admin1      ----->configure local username and password   
Ruijie(config)#username admin2 password admin2
Ruijie(config)#aaa new-model    ------>enable AAA function
Ruijie(config)#aaa authentication login default local    ------>apply username and password from local switch
Ruijie(config)#line vty 0 4
Ruijie(config-line)#login authentication default ------>apply login auth in vty mode
Ruijie(config-line)#exit
Ruijie(config)#line console 0    ------> You are advised to use telnet or SSH to verify the line vty configuration successfully first, then configure line console
Ruijie(config-line)#login authentication default ------>apply login auth in console mode
Ruijie(config-line)#exit
Ruijie(config)#exit
Ruijie#write
(2) AAA radius authentication
Ruijie>enable
Ruijie#config terminal
Ruijie(config)#aaa new-model    ------>enable AAA function
Ruijie(config)#aaa authentication login ruijie-1
group radius local none   ------>If a radius server is available, you can set the account password for apply the radius service and configure the radius server and key.
//(Not necessary)
Ruijie(config)#aaa authentication login ruijie-1group radius local   -----> If you log in using your local user name and password after radius authentication fails
//(Not necessary)
Ruijie(config)#aaa authentication login ruijie-1group radius local none----->If you log in using the local user name and password after the radius authentication fails, noauthentication is required after the local login fails
Ruijie(config)#radius-server host 192.168.100.1 keyruijie       ------>The radius address and key can be changed as required, and ensure that the switchcan properly communicate with the server
Ruijie(config)#line vty 0 4
Ruijie(config-line)#login authentication ruijie-2------>apply login auth in vty mode, call ruijie-1 list
Ruijie(config-line)#exit
Ruijie(config)#line console 0    ------>You are advised to use telnet or SSH to verify the linevty configuration successfully first, then configure line console
Ruijie(config-line)#login authentication ruijie-2------>apply login auth in console mode, call ruijie-2 list
Ruijie(config-line)#exit
Ruijie(config)#username admin1 password admin1      ----->configure local username and password   
Ruijie(config)#username admin2 password admin2
Ruijie(config)#exit
Ruijie#write
5. Result Verification
telnet login:

Username and password login:

Other

Configuration Authentication Other
There are no replies.
Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd