Cisco Switch AAA Security
Today i will discuss about Cisco Switch AAA Security. Typically, remote administrator access to a Cisco switch requires a password but no username. There is no accountability for which administrator has connected to the switch. Also, no mechanism is set by default for what an administrator is allowed to do. [boxads]
Cisco provides three security mechanisms called Authentication, Authorization and Accounting (AAA) that can address these vulnerabilities. Configure AAA on a switch in conjunction with a security server.
Use of AAA with a security server provides the security mechanisms described below.
- Authentication– This mechanism identifies remote and local users before granting access to the switch.
- Authorization– This mechanism controls access to remote services based on defined attributes associated with the authenticated user.
- Accounting– This mechanism provides a secure logging capability for recording services accessed by a user as well as a user’s bandwidth consumption
AAA allows for security servers to use three types of protocols: RADIUS, TACACS+ and Kerberos.
This setting is important, especially if the administrator is configuring the switch remotely.
The following command shows an example of how to create a local user, including the username (e.g., shahed) with a privilege level (e.g., 0) and a password (e.g., g00d-P5WD) that will be MD5-encrypted.
Switch(config)# username shahed privilege 0 secret g00d-P5WD
To enable AAA, use the following command.
Switch(config)# aaa new-model
Specifying a security server or set of security servers can be done using the following Cisco Switch AAA Security commands for TACACS+ and RADIUS:
{tacacs-server | radius-server} host ip-address
{tacacs-server | radius-server} key key
Read more