Onboard Failure Logging On The Switch - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Onboard Failure Logging on the Switch

tftp:
tmpsys:
The general syntax for copying onto TFTP server is as follows:
Switch#copy crashinfo: tftp:
Source filename [system-report_1_20150909-092728-UTC.gz]?
Address or name of remote host []? 1.1.1.1
Destination filename [system-report_1_20150909-092728-UTC.gz]?
The tracelogs can be collected by issuing a trace archive command. This command provides time period
options. The command syntax is as follows:
Switch#request platform software trace archive ?
last
target
The tracelogs stored in crashinfo: or flash: directory from within the last 3650 days can be collected.
Switch# request platform software trace archive last ?
<1-3650> Number of days (1-3650)
Switch#request platform software trace archive last 3650 days target ?
crashinfo: Archive file name and location
flash:
Note
It is important to clear the system reports or trace archives from flash or crashinfo directory once they are
copied out, in order to have space available for tracelogs and other purposes.
Onboard Failure Logging on the Switch
You can use the onboard failure logging (OBFL) feature to collect information about the Device. The
information includes uptime, temperature, and voltage information and helps Cisco technical support
representatives to troubleshoot Device problems. We recommend that you keep OBFL enabled and do not
erase the data stored in the flash memory.
By default, OBFL is enabled. It collects information about the Device and small form-factor pluggable (SFP)
modules. The Device stores this information in the flash memory:
• CLI commands—Record of the OBFL CLI commands that are entered on a standalone Device.
• Message—Record of the hardware-related system messages generated by a standalone Device .
• Power over Ethernet (PoE)—Record of the power consumption of PoE ports on a standalone Device .
• Temperature—Temperature of a standalone Device .
• Uptime data—Time when a standalone Device starts, the reason the Device restarts, and the length of
• Voltage—System voltages of a standalone Device .
You should manually set the system clock or configure it by using Network Time Protocol (NTP).
When the Device is running, you can retrieve the OBFL data by using the show logging onboard privileged
EXEC commands. If the Device fails, contact your Cisco technical support representative to find out how to
retrieve the data.
When an OBFL-enabled Device is restarted, there is a 10-minute delay before logging of new data begins.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
244
Copy to tftp: file system
Copy to tmpsys: file system
Archive trace files of last x days
Location and name for the archive file
Archive file name and location
time the Device has been running since it last restarted.
Troubleshooting the Software Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents