3.10.3 Authentication, Authorization, and Accounting Configuration
The authentication allows you to configure how a user is authenticated when he logs into the switch through one of the management client interfaces. Each one of the interfaces may have up to three authentication servers. In case the first authentication server is down, the second authentication server is accessed instead. The same applies to the third authentication server in case both the first and second authentication servers are down.
The authorization allows you to limit the CLI commands available to a user.
The accounting allows you to configure command and exec (login) accounting.
Command Syntax:
aaa authentication login { console | telnet | ssh | http } { { local | radius | tacacs } [ { local | radius | tacacs } [ { local | radius | tacacs } ] ] }
Argument | Description | |
Parameter | N.A | N.A |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Configure user authentication method for a specific management interface. To disable the interface, use the ‘no’ version of the command. | |
Example | Example 1: Configure SSH to authenticate first with the RADIUS Server. If it is down, then authenticate with the TACACS Server; if that is also down, then authenticate locally.
Example 2: Disable Telnet remote access.
|
Command Syntax:
aaa authorization { console | telnet | ssh } tacacs commands <priv_lvl> [ config-commands ]
Argument | Description | |
Parameter |
| Privilege level. The level ranges from 0–15. |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Configure authorization method for a specific management interface. To disable the authorization, use the ‘no’ version of the command. | |
Example | Example 1: Configure SSH client to use tacacs server for command authorization with priviledge level 15 and also authorize configuration commands.
Example 2: Disable SSH command authorization remote access.
|
Command Syntax:
aaa accounting { console | telnet | ssh } tacacs { [ commands <priv_lvl> ] [ exec ] }
Argument | Description | |
Parameter |
| All CLI commands equal and above the privilege level are accounted. |
| Only the remote user login/logout is reported. | |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Configure accounting method and reporting. To disable accounting, use the ‘no’ version of the command. | |
Example | Example 1: Configure accounting for ssh to report all CLI activity and any login/logout.
Example 2: Disable accounting for Telnet.
|