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 login RGOS switch's CLI using username from RADIUS server? Reply

GTAC-Sophia

Level 6

Ruijie Staff

How to configure login RGOS switch's CLI using username from RADIUS server?
742 0 2024-12-25 14:34:05
Original
Introduction of CLI authentication

To secure the switch for Console/Telnet/SSH access by using AAA methods.

Applied scenarios

When there are multiple devices in the network, it's a hassle to still use local management username/password for managing devices.

Case of configuration

a) Requirement

Ruijie device with RGOS system

b) Network Topology

N/A

c) Configuration


Ruijie# configure terminal

Ruijie(config)# aaa new-model

//Add RADIUS server to server list, you need tocheck the RADIUS server's connectivity first.

Ruijie(config)# radius-server host RADIUS-SERVER-IPkey SERVER-KEY

//By default, using RADIUS to authenticate, if noneof RADIUS servers are reachable, fallback to local authentication

Ruijie(config)# aaa authentication login defaultgroup radius local

//Define a user for remote access fallback

Ruijie(config)# username remotefallback passwordremotefallback

//Apply for console access

Ruijie(config)# line console 0

Ruijie(config-line)# login authentication default

//Apply for SSH access

Ruijie(config)# line vty 0 4

Ruijie(config-line)# login authentication default

Ruijie(config-if)# end

Ruijie#



After that, we can check if it works.

I will show an example of console connect using SecureCRT.

Select tab "File" -> "Quick Connect"

Choose "Protocol" to "Serial", set port to COM*, set Baud rate to 9600, then click connect.

After we input username and password, a prompt shows we are authenticated.


RG-CS83 Series

Configuration Data Center Switch
There are no replies.
Related 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