show aaa accounting
Syntax
show aaa accounting [vsx-peer]
Description
Shows the accounting configuration per connection type (channel).
Command context
Operator (>
) or Manager (#
)
Parameters
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Example
Configuring and then showing the accounting sequence for TACACS+ groups and local:
switch(config)# aaa accounting all default start-stop group tg1 tg2 tacacs local switch(config)# aaa accounting all ssh start-stop group tg1 tg2 switch(config)# aaa accounting all console start-stop group tg4 tacacs local switch(config)# aaa accounting all https-server start-stop local group tacacs tg3 switch(config)# exit switch# show aaa accounting AAA Accounting: Accounting Type : all Accounting Mode : start-stop Accounting for default channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- tg1 | 0 tg2 | 1 tacacs | 2 local | 3 --------------------------------------------------------------------------------- Accounting for ssh channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- tg1 | 0 tg2 | 1 --------------------------------------------------------------------------------- Accounting for console channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- tg4 | 0 tacacs | 1 local | 2 --------------------------------------------------------------------------------- Accounting for https-server channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- local | 0 tacacs | 1 tg3 | 2 ---------------------------------------------------------------------------------
Configuring and then showing the accounting sequence for RADIUS groups and local:
switch(config)# aaa accounting all default start-stop group rg1 rg2 radius local switch(config)# aaa accounting all console start-stop group rg4 radius local switch(config)# exit switch# show aaa accounting AAA Accounting: Accounting Type : all Accounting Mode : start-stop Accounting for default channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- rg1 | 0 rg2 | 1 radius | 2 local | 3 --------------------------------------------------------------------------------- Accounting for console channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- tg4 | 0 radius | 1 local | 2 ---------------------------------------------------------------------------------
Configuring and then showing only local accounting for default:
switch(config)# aaa accounting all default start-stop local switch(config)# exit switch# show aaa accounting AAA Accounting: Accounting Type : all Accounting Mode : start-stop Accounting for default channel: --------------------------------------------------------------------------------- GROUP NAME | GROUP PRIORITY --------------------------------------------------------------------------------- local | 0 ---------------------------------------------------------------------------------