- Index
- New and Changed Information
- Preface
- Overview
- Configuring CFS
- Configuring NTP
- Configuring CDP
- Configuring System Message Logging
- Configuring Smart Call Home
- Configuring Rollback
- Configuring Session Manager
- Configuring the Scheduler
- Configuring SNMP
- Configuring RMON
- Configuring Online Diagnostics
- Configuring the Embedded Event Manager
- Configuring Onboard Failure Logging
- Configuring SPAN
- Configuring NetFlow
- Supported RFCs
- EEM Events and Examples
Configuring Onboard Failure Logging
This chapter describes how to configure the onboard failure logging (OBFL) features on Cisco NX-OS devices.
This chapter includes the following sections:
•
Licensing Requirements for OBFL
•
Verifying the OBFL Configuration
Information About OBFL
This section includes the following topics:
OBFL Overview
Cisco NX-OS provides the ability to log failure data to persistent storage, which you can retrieve and display for analysis at a later time. This onboard failure logging (OBFL) feature stores failure and environmental information in nonvolatile memory on the module. The information will help analyze failed modules.
The data stored by OBFL include the following:
•
Time of initial power-on
•
Slot number of the module in the chassis
•
Initial temperature of the module
•
Firmware, BIOS, FPGA, and ASIC versions
•
Serial number of the module
•
Stack trace for crashes
•
CPU hog information
•
Memory leak information
•
Software error messages
•
Hardware exception logs
•
Environmental history
•
OBFL-specific history information
•
ASIC interrupt and error statistics history
•
ASIC register dumps
OBFL stores a kernel trace in case Cisco NX-OS crashes.
Virtualization Support
You must be in the default virtual device context (VDC) to configure and display OBFL information. See the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 4.x for more information on VDCs.
Licensing Requirements for OBFL
The following table shows the licensing requirements for this feature:
Prerequisites for OBFL
If you configure VDCs, install the Advanced Services license and enter the desired VDC (see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 4.x).
You must have network-admin user privileges and be logged into the default VDC.
Guidelines and Limitations
OBFL has the following guidelines and limitations:
•
OBFL is enabled by default.
•
OBFL flash supports a limited number of writes and erases. The more logging you enable, the faster you use up this number of writes and erases.
Note
Be aware that the Cisco NX-OS commands for this feature may differ from those commands used in Cisco IOS.
Configuring OBFL
You can configure the OBFL features on Cisco NX-OS devices.
BEFORE YOU BEGIN
Make sure you are in global configuration mode.
SUMMARY STEPS
1.
hw-module loggine onboard
2.
hw-module logging onboard environmental-history
3.
hw-module logging onboard error-stats
4.
hw-module logging onboard interrupt-stats
5.
hw-module logging onboard module slot
6.
hw-module logging onboard module obfl-log
7.
show logging onboard
8.
copy running-config startup-config
DETAILED STEPS
Verifying the OBFL Configuration
Use the show logging onboard status command to display the configuration status of OBFL.
switch# show logging onboard status
----------------------------
OBFL Status
----------------------------
Switch OBFL Log: Enabled
Module: 2 OBFL Log: Enabled
cpu-hog Enabled
environmental-history Enabled
error-stats Enabled
exception-log Enabled
interrupt-stats Enabled
mem-leak Enabled
miscellaneous-error Enabled
obfl-log (boot-uptime/device-version/obfl-history) Enabled
register-log Enabled
stack-trace Enabled
system-health Enabled
Module: 6 OBFL Log: Enabled
cpu-hog Enabled
environmental-history Enabled
error-stats Enabled
exception-log Enabled
interrupt-stats Enabled
mem-leak Enabled
miscellaneous-error Enabled
obfl-log (boot-uptime/device-version/obfl-history) Enabled
register-log Enabled
stack-trace Enabled
system-health Enabled
temp Error Enabled
Use the following commands to display OBFL information stored in flash on a module:
Note
Use the clear logging onboard command to clear the OBFL information for each of the show command options listed.
OBFL Example Configuration
This example shows how to enable OBFL on module 2 for environmental information:
conf t
hw-module logging onboard module 2 environmental-history
Default Settings
Table 15-1 lists the default settings for OBFL parameters.
|
|
|
|---|---|
OBFL |
All features enabled |
Additional References
For additional information related to implementing OBFL, see the following sections:
Related Documents
Standards
|
|
|
|---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
— |
Feedback