3 accounting command, 3 accounting command -66 – PLANET WGSW-52040 User Manual
Page 67
1-66
Command:
accounting line {console | vty} exec {start-stop | stop-only | none} method1 [method2…]
no accounting line {console | vty} exec
Function:
Configure the list of the accounting method for the login user with VTY (login with Telnet and SSH) and Console. The
no command restores the default accounting method.
Parameters:
line selects the accounting line, including console, vty (telnet and ssh); start-stop sends the accounting start or the
accounting stop when the user is logging or exit the login; stop-only sends the accounting stop when the user exits
the login only; none does not send the accounting start or the accounting stop; method is the list of the accounting
method, it only supports tacacs keyword; tacacs uses the remote TACACS+ server to count.
Default:
There is no accounting.
Command Mode:
Global Mode.
Usage Guide:
console and vty login method are able to set the corresponding accounting method respectively, the accounting
method only supports TACACS+ method currently.
Example:
Configure the login accounting with the telnet method.
Switch(config)#accounting line vty exec start-stop tacacs
1.2.3 accounting command
Command:
accounting line {console | vty} command <1-15> {start-stop | stop-only | none} method1 [method2…]
no accounting line {console | vty} command <1-15>
Function:
Configure the list of the command accounting method with VTY (login with Telnet and SSH) and Console. The no
command restores the default accounting method.
Parameters: