Configuration Guide TACACS+ Configuration
Using TACACS+ by Enable Authentication
1. Enables aaa first:
Ruijie# configure terminal
Ruijie(config)# aaa new-model
2. Then configures tacacs+ server information:
Ruijie(config)# tacacs-server host 192.168.12.219
Ruijie(config)# tacacs-server host 192.168.12.218
Ruijie(config)# tacacs-server host 192.168.12.217
Ruijie(config)# tacacs-server key aaa
Configures tacacs+ server group using a part of the servers in the server list:
Ruijie(config)# aaa group server tacacs+ tacgroup1
Ruijie(config-gs-tacacs)# server 192.168.12.219
Ruijie(config-gs-tacacs)# server 192.168.12.218
3. Configures authentication method of using tacgroup1:
Ruijie(config)# aaa authentication enable default group tacgroup1
Through the above configuration, you implement to configure enable authentication
of some tacacs+ servers. The configuration is shown as follows;
Ruijie#show running-config
!
aaa new-model
!
!
aaa group server tacacs+ tacgroup1
server 192.168.12.219
server 192.168.12.218
!
aaa authentication enable default group tacgroup1
!
!
tacacs-server host 192.168.12.219