Configuring radius accounting, Configuring radius accounting for cli commands, Configuring radius accounting for system events – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 147
Brocade TurboIron 24X Series Configuration Guide
113
53-1003053-01
Configuring RADIUS security
Configuring RADIUS accounting
Devices support RADIUS accounting for recording information about user activity and system
events. When you configure RADIUS accounting on a device, information is sent to a RADIUS
accounting server when specified events occur, such as when a user logs into the device or the
system is rebooted.
Configuring RADIUS accounting for Telnet/SSH (Shell) access
To send an Accounting Start packet to the RADIUS accounting server when an authenticated user
establishes a Telnet or SSH session on the device, and an Accounting Stop packet when the user
logs out.
TurboIron(config)#aaa accounting exec default start-stop radius
Syntax: aaa accounting exec default start-stop radius | tacacs+ | none
Configuring RADIUS accounting for CLI commands
You can configure RADIUS accounting for CLI commands by specifying a privilege level whose
commands require accounting. For example, to configure the device to perform RADIUS accounting
for the commands available at the Super User privilege level (that is; all commands on the device),
enter the following command.
TurboIron(config)#aaa accounting commands 0 default start-stop radius
An Accounting Start packet is sent to the RADIUS accounting server when a user enters a
command, and an Accounting Stop packet is sent when the service provided by the command is
completed.
NOTE
If authorization is enabled, and the command requires authorization, then authorization is
performed before accounting takes place. If authorization fails for the command, no accounting
takes place.
Syntax: aaa accounting commands
The
•
0 – Records commands available at the Super User level (all commands)
•
4 – Records commands available at the Port Configuration level (port-config and read-only
commands)
•
5 – Records commands available at the Read Only level (read-only commands)
Configuring RADIUS accounting for system events
You can configure RADIUS accounting to record when system events occur on the device. System
events include rebooting and when changes to the active configuration are made.
The following command causes an Accounting Start packet to be sent to the RADIUS accounting
server when a system event occurs, and a Accounting Stop packet to be sent when the system
event is completed.
TurboIron(config)#aaa accounting system default start-stop radius
Syntax: aaa accounting system default start-stop radius | tacacs+ | none