clear logging onboard
To clear OBFL logging messages from a node or from all nodes, use the clear logging onboard command in XR EXEC mode.
clear logging onboard [location node-id]
Syntax Description
location node-id |
(Optional) Clears OBFL messages from the designated node. The node-id argument is entered in the rack/slot/module notation. |
Command Default
All OBFL logging messages are cleared from all nodes.
Command Modes
XR EXEC mode
Command History
Release |
Modification |
---|---|
Release 7.0.12 |
This command was introduced. |
Usage Guidelines
Use the clear logging onboard command to clear OBFL messages from all nodes. Use the clear logging onboard command with the location node-id keyword and argument to clear OBFL messages for a specific node. If the specified node is not present, an error message is displayed.
Caution |
The clear logging onboard command permanently deletes all OBFL data for a node or for all nodes. Do not clear the OBFL logs without specific reasons, because the OBFL data is used to diagnose and resolve problems in FRUs. |
Caution |
If OBFL is actively running on a card, issuing the clear logging onboard command can result in a corrupt or incomplete log at a later point in time. OBFL should always be disabled before this command is issued. |
Task ID
Task ID |
Operations |
---|---|
logging |
read |
In the following example, the OBFL data is cleared for all nodes in the system:
Router# clear logging onboard
Remove all onboard failure log files for 0/RP0/CPU0? [confirm] y
Router#