Ruijie Community

Title: How to configure command authorization for AAA on Ruijie switch? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-6-11 17:21
Title: How to configure command authorization for AAA on Ruijie switch?
Requirements
Configure command authorization for the Login user. After the user logs in to the device through the terminal device, only commands within the authorization scope are allowed.
Topology


Configuration

Ruijie>enable

Ruijie#configure terminal

Ruijie(Config)#aaa new-model

Ruijie(Config)#tacacs-server host 10.110.1.2 keysharekey

Ruijie(Config)#aaa authentication loginlogin-method group tacacs+ local

Ruijie(Config)#username host1 privilege 15 passwordpassword1

Ruijie(Config)#aaa authorization commands 15command group tacacs+ local

Ruijie(Config)#line vty 0 4

Ruijie(config-line)#login authenticationlogin-method

Ruijie(config-line)#authorization execcommand-method







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