Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
PurposeCommand or Action
(Optional)
Displays the module logging configuration.
switch# show logging module
Step 6
(Optional)
Displays the logging level configuration and the system default
level by facility. If you do not specify a facility, the switch
displays levels for all facilities.
switch# show logging level
[facility]
Step 7
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
Step 8
The following example shows how to configure the severity level of module and specific facility messages:
switch# configure terminal
switch(config)# logging module 3
switch(config)# logging level aaa 2
Configuring Logging Timestamps
You can configure the time-stamp units of messages logged by the Cisco Nexus 5000 Series switch.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Sets the logging time-stamp units. By default,
the units are seconds.
switch(config)# logging timestamp
{microseconds | milliseconds | seconds}
Step 2
(Optional)
Resets the logging time-stamp units to the
default of seconds.
switch(config)# no logging timestamp
{microseconds | milliseconds | seconds}
Step 3
(Optional)
Displays the logging time-stamp units
configured.
switch# show logging timestamp
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config startup-config
Step 5
The following example shows how to configure the time-stamp units of messages:
switch# configure terminal
switch(config)# logging timestamp milliseconds
switch(config)# exit
switch# show logging timestamp
Logging timestamp: Milliseconds
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 341
Configuring System Message Logging
Configuring Logging Timestamps