Network os commands, Aaa accounting, Chapter 2 – Brocade Network OS Command Reference v4.1.0 User Manual
Page 51: Chapter 2, “network os commands, Chapter
Network OS Command Reference
13
53-1003115-01
Chapter
2
Network OS Commands
aaa accounting
Enables or disables the TACACS+ accounting service.
Synopsis
aaa accounting exec default start-stop tacacs+ [none]
no aaa accounting exec default start-stop tacacs+
aaa accounting commands default start-stop tacacs+
no aaa accounting commands default start-stop tacacs+ [none]
Operands
exec
Enables login accounting.
commands
Enables command accounting.
default
Specifies the default mode.
start-stop
Sends a start-stop packet upon completion of a command or login.
none
Disables accounting. This is functionally equivalent to the no form of the
commands.
tacacs+
Uses the TACACS+ server for accounting.
Defaults
AAA accounting is disabled.
Command Modes
Global configuration mode
Description
Use this command to enable or disable the TACACS+ protocol-based accounting service.
When login accounting is enabled, all logins will be logged. An accounting stop packet will be sent
with relevant attributes to the TACACS+ server when the login is terminated.
When command accounting is enabled, an accounting stop packet will be sent with relevant
attributes to the TACACS+ server once the command execution is completed. Most configuration
commands, non-configuration commands such as show commands, or operations such as
firmware download are logged. For a listing of commands that are not accounted for, refer to the
Network OS Administrator’s Guide, Appendix A, “TACACS+ Accounting Exceptions”.
Usage Guidelines
Login or command accounting can be enabled only if at least one TACACS+ server host is
configured. Similarly, if either login or command accounting is enabled, you cannot remove the
TACACS+ server can't be removed if it is the only server available.
Enter no aaa accounting exec default start-stop tacacs+ to disable login accounting.
Enter no aaa accounting commands default start-stop tacacs+ to disable command accounting.
You can also use the optional “none” parameter for either command (instead of the no parameter)
to disable that accounting.