35-16
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 35 Troubleshooting
Using On-Board Failure Logging
Beginning in privileged EXEC mode, follow these steps to enable and configure OBFL. Note that OBLF
is enabled by default; you need to enable it only if it has been disabled.
To disable OBFL, use the no hw-module module 1 logging onboard [message level] global
configuration command.
To clear all the OBFL data in the flash memory except for the uptime and CLI command information,
use the clear logging onboard privileged EXEC command.
For more information about the commands in this section, see the command reference for this release.
Displaying OBFL Information
To display the OBFL information, use one or more of the privileged EXEC commands in
Table 35-2
.
Note
When an OBFL-enabled switch is restarted, there is a 10-minute delay before logging of new data
begins.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
hw-module module [slot-number]
logging onboard [message level]
Enable OBFL on the switch.
You can specify these optional parameters:
•
(Optional) slot-number—The slot number is always 1 and is not
relevant for the switch.
•
(Optional) message level—Specify the severity level of messages to
be generated and stored. The range is from 1 to 7, with 1 being the
most severe.
Step 3
end
Return to privileged EXEC mode.
Step 4
copy logging onboard module
[slot-number] destination
(Optional) Copy the OBFL data to the local network or a specific file
system.
•
(Optional) slot-number—The slot number is always 1 and is not
relevant.
•
destination—See the copy logging onboard module command for
destination options.
Step 5
show logging onboard
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Table 35-2
Commands for Displaying OBFL Information
Command Purpose
show logging onboard clilog
Display the OBFL CLI commands that were entered on a switch.
show logging onboard environment
Display the UDI information for a standalone switch and for all the
connected FRU devices: the PID, the VID, and the serial number.
show logging onboard message
Display the hardware-related messages generated by a switch.