Accounting Command - Planet Networking & Communication SGS-6340-24T4S Command Manual

Layer 3 multi-port full gigabit stackable managed switch
Table of Contents

Advertisement

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:
line selects the accounting line, including console, vty (telnet and ssh); command <1-15> is the level of the
accounting command; 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 method.
Command Mode:
Global Mode.
Usage Guide:
console and vty login method are able to set the corresponding command accounting method respectively, the
accounting method only supports TACACS+ method currently. Only the stop information of the accounting is
recorded, whether command accounting configures start-stop method or stop-only method.
1-72

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents