4 Command Line Interface

Example

Console(config)#line console

Console(config-line)#authorization exec tps

Console(config-line)#exit

Console(config)#line vty

Console(config-line)#authorization exec default

Console(config-line)#

show accounting

This command displays the current accounting settings per function and per port.

Syntax

show accounting [commands [level]] [[dot1x [statistics [username user-nameinterface interface]] exec [statistics] statistics [username user-nameinterface]]

commands - Displays command accounting information.

level - Displays command accounting information for a specifiable command level.

dot1x - Displays dot1x accounting information.

exec - Displays Exec accounting records.

statistics - Displays accounting records.

user-name- Displays accounting records for a specifiable username.

interface

ethernet unit/port

-unit - Stack unit. (Range: 1)

-port - Port number. (Range: 1-28)

Default Setting

None

Command Mode

Privileged Exec

Example

Console#show accounting

Accounting type: dot1x

Method list: default

Group list: radius

Interface:

Method list: tps

Group list: radius

Interface: eth 1/2

Accounting type: Exec

Method list: default

Group list: radius

Interface: vty

Console#

4-110

Page 406
Image 406
Accton Technology ES3528M-SFP manual Show accounting, Interface, Ethernet unit/port