257
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       Show Commands
show accounting log
show accounting log
To display the accounting log contents, use the show accounting log command.
show accounting log [size] [start-time year month day HH:MM:SS] [end-time year month day 
HH:MM:SS]
Syntax Description
Command Default None
Command Modes EXEC mode 
Command History
Examples This example shows how to display the entire accounting log:
switch# show accounting log 
In Cisco NX-OS Release, this command displays the following output:
switch# show accounting log 
Mon Aug 16 09:37:43 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; interface vfc3 ; bind interface Ethernet1/12 (SUCCESS)
Mon Aug 16 09:38:20 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; interface vfc3 ; no shutdown (REDIRECT)
Mon Aug 16 09:38:20 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=Inte
rface vfc3 state updated to up
Mon Aug 16 09:38:20 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; interface vfc3 ; no shutdown (SUCCESS)
Mon Aug 16 09:38:20 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; interface vfc3 ; no shutdown (SUCCESS)
Mon Aug 16 09:48:05 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; interface Ethernet2/1 (SUCCESS)
Mon Aug 16 09:55:27 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; vtp mode client (FAILURE)
Mon Aug 16 09:55:35 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; vtp mode server (FAILURE)
Mon Aug 16 10:03:46 2010:type=update:id=72.163.177.184@pts/0:user=admin:cmd=conf
igure terminal ; no vtp mode (FAILURE)
size (Optional) Amount of the log to display in bytes. The range is from 0 to 
250000.
start-time year month 
day HH:MM:SS
(Optional) Specifies a start time. The year argument is in yyyy format. The 
month is the three-letter English abbreviation. The day argument range is 
from 1 to 31. The HH:MM:SS argument is in standard 24-hour format.
end-time year month 
day HH:MM:SS
(Optional) Specifies an end time. The year argument is in yyyy format. The 
month is the three-letter English abbreviation. The day argument range is 
from 1 to 31. The HH:MM:SS argument is in standard 24-hour format.
Release Modification
5.2(1)N1(1) This command was introduced.