Hardware Redundancy and Node Administration
Debug Commands on Cisco IOS XR Software
This chapter describes the administrative platform commands used to debug the hardware redundancy,
power, and administrative status of the nodes on a router running Cisco IOS XR software.
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-1
debug oird
debug oird
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
To debug events related to the OIR daemon (OIRD), use the debug oird command in EXEC mode. To
disable debugging, use the no form of this command.
debug oird {all | event | message}
no debug oird {all | event | message}
Syntax Description
DefaultsNo default behavior or values
Command ModesEXEC
Command History
Usage GuidelinesTo use this command, you must be in a user group associated with a task group that includes the proper
allSpecifies the debug information for both the event and message keywords.
eventSpecifies the debug information for OIRD event interrupts.
messageSpecifies the debug information for OIR event triggered messages.
ReleaseModification
Release 2.0This command was introduced on the Cisco CRS-1.
Release 3.0No modification.
Release 3.2No modification.
Release 3.3.0No modification.
task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system
performance. For more information about the impact on system performance when using debug
commands, refer to Using Debug Commands on Cisco IOS XR Software.
• A message may consistently appear on the console log. You must have specific hardware knowledge
of the Cisco CRS-1 to interpret the debug information.
Task ID
ExamplesThe following example shows sample output with the debug oird command:
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-2
Task IDOperations
systemread
RP/0/RP0/CPU0:router# debug oird all
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-3
debug screddrv
debug screddrv
To debug the screddrv message, use the debug screddrv command in EXEC mode. To disable
debugging, use the no form of this command.
debug screddrv {all | lwm | message | state}
no debug screddrv {all | lwm | message | state}
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
Syntax Description
all(Optional) Enables debug for lwm, message, and state keywords.
lwm(Optional) Specifies debug information for lwm
message(Optional) Enables debug for all message exchanges.
state(Optional) Enables debug for redundancy driver mastership state
information.
1. LWM = light weight message
DefaultsThe debug screddrv command is off by default.
Command ModesEXEC
Command History
ReleaseModification
Release 2.0This command was introduced on the Cisco CRS-1.
Release 3.0No modification.
Release 3.2No modification.
Release 3.3.0No modification.
1
keyword.
Usage GuidelinesTo use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
• Debugging output is assigned high priority in the CPU process and, therefore, can affect system
performance. For more information about the impact on system performance when using debug
commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task IDOperations
systemread
ExamplesThe following example shows how to enable debugging information with the debug screddrv command:
RP/0/RP0/CPU0:router# debug screddrv state
RP/0/RP0/CPU0:router#
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-4
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
debug screddrv
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-5
debug socket
debug socket
To debug the socket library, use the debug socket command in EXEC mode. To disable debugging, use
the no form of this command.
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
no debug socket {clns | raw | tcp | udp} {api | error | events | io} [location node-id]
Syntax Description
DefaultsThe debug socket command is off by default.
Command ModesEXEC
Command History
clnsEnables the clns socket debug from the socket layer.
rawEnables the raw socket debug from the socket layer.
tcpEnables the tcp socket debug from the socket layer.
udpEnables the User Datagram Protocol (UDP) socket debug from the socket layer.
apiEnables the socket debug for internal application programming interfaces (APIs).
errorEnables the socket debug for errors.
eventsEnables the socket debug for events.
ioEnables the socket debug for the input/output (I/O) path.
location node-id(Optional) Specifies debug information to enable a specified location (for example,
0/2/CPU0). The node-id argument is entered in the rack/slot/module notation.
ReleaseModification
Release 2.0This command was introduced on the Cisco CRS-1.
Release 3.0No modification.
Release 3.2This command was supported on the Cisco XR 12000 Series Router.
Release 3.3.0No modification.
Usage GuidelinesTo use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
• Debugging output is assigned high priority in the CPU process and, therefore, can affect system
performance. For more information about the impact on system performance when using debug
commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Cisco IOS XR Interface and Hardware Component Debug Command Reference
DHR-6
Task IDOperations
transportread
Hardware Redundancy and Node Administration Debug Commands on Cisco IOS XR Software
ExamplesThe following example shows sample output with the debug socket command:
RP/0/RP0/CPU0:router# debug socket udp api location 0/0/CPU0
Type escape sequence to abort.
Tracing the route to 171.71.136.54
RP/0/RP0/CPU0:Aug 16 20:58:34.044 : udp[316]: Entering: sbe_size_packet (pak 0xda3181ff)