Information
The use of Authentication, Authorization, and Accounting (AAA) affords the best methods for controlling user access, authorization levels, and activity logging. By enabling AAA on the switches in conjunction with an authentication server such as TACACS+ or RADIUS the administrators can easily add or remove user accounts, add or remove command authorizations, and maintain a log of user activity.
The Authentication, Authorization, and Accounting (AAA) framework is essential to securing a network device. The AAA framework provides a mechanism to authenticate and limit specific actions being performed within a management session. AAA also allows for accounting and logging of any commands that are executed within a management session.
Solution
Configure AAA. Servers should be reachable via the management vrf.
switch(config)# aaa group server tacacs+ TACPLUS
switch(config-sg-tacacs+-TACPLUS)# server {ip address} vrf {management vrf}
switch(config-sg-tacacs+-TACPLUS)# server {ip address2} vrf {management vrf}
switch(config-sg-tacacs+-TACPLUS)# exit
switch(config)# aaa authentication default enable group TACACS+ local
switch(config)# aaa authentication login default group TACPLUS local
switch(config)# aaa authentication enable default group TACPLUS local
switch(config)# aaa authorization exec default group TACPLUS local
switch(config)# aaa authorization commands all default group TACPLUS local
Impact:
Enabling AAA requires an authentication server available to accept connections and return results. Errors in configuration can lock users out of the device.