•
To enable OBFL and return the configuration to the default message severity level, use the
no
form of
the
hw-module logging onboard
command with the
severity
keyword:
no hw-module
{
all
|
subslot node-id
}
logging onboard severity
When the OBFL feature is disabled, existing OBFL logs are preserved. To resume OBFL data collection,
enable the OBFL feature again.
If a new node is inserted, and OBFL is enabled for that slot, then OBFL is enabled for the new node. If a
card is removed from a router and inserted into a different router, the card assumes the OBFL configuration
for the new router.
Note
Examples
The following example shows how to disable OBFL for all cards:
RP/0/0/CPU0:router(admin-config)#
hw-module all logging onboard disable
The following example shows how to disable OBFL for a card:
RP/0/0/CPU0:router(admin-config)#
hw-module subslot 0/2/CPU0 logging onboard disable
The following example shows how to enable OBFL again:
RP/0/0/CPU0:router(admin-config)#
no hw-module all logging onboard disable
The following example shows how to save only the syslog message in which the severity level is set to 0
(emergency) to a storage device:
RP/0/0/CPU0:router(admin-config)#
hw-module subslot 0/2/CPU0 logging onboard severity
emergencies
The following example shows how to save the syslog message in which the severity level is set to 0 (emergency)
and 1 (alert) to a storage device:
RP/0/0/CPU0:router(admin-config)#
hw-module subslot 0/2/CPU0 logging onboard severity alerts
Related Commands
Description
Command
Clears OBFL logging messages from a node or from
all nodes.
clear logging onboard, on page 354
Displays the OBFL messages.
show logging onboard, on page 358
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
357
Onboard Failure Logging Commands
hw-module logging onboard