Table Of Contents
Manageability Debug Commands on Cisco IOS XR Software
Manageability Debug Commands on Cisco IOS XR Software
This chapter describes the system manager commands used to debug Cisco IOS XR software.
debug sysmgr
To enable debugging of sysmgr-related activities that include the starting, restarting, and upgrading of processes and nodes, use the debug sysmgr command in EXEC mode. To turn off debugging output, use the no form of the command.
debug sysmgr [location node-id]
no debug sysmgr [location node-id]
Syntax Description
location node-id
(Optional) Displays debugging information for a specified location. The node-id argument is entered in the rack/slot/module notation.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To 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.
Examples
The following example shows how to enable system manager debugging:
RP/0/RP0/CPU0:router# debug sysmgrRP/0/RP0/CPU0:router# process restart ntpdRP/0/RP0/CPU0:Aug 15 19:13:34.091 : sysmgr[79]: sysmgr_control_ops: event PROC_RESTART caller sysmgr_control name ntpd jid -1 RP/0/RP0/CPU0:Aug 15 19:13:34.093 : sysmgr[79]: sysmgr_control_pcb: type PROC_RESTART state PRUN name ntpd(1) jid 196 caller sysmgr_control RP/0/RP0/CPU0:Aug 15 19:13:34.098 : sysmgr[79]: sysmgr_kill_proc: ntpd requested by sysmgr_control RP/0/RP0/CPU0:Aug 15 19:13:34.103 : sysmgr[79]: ntpd(1) (jid 196) is being killed with SIGTERM RP/0/RP0/CPU00:router#RP/0/RP0/CPU0:Aug 15 19:13:34.104 : sysmgr[79]:timer_create: 5, 196, 3, 30...debug xml
To display Extensible Markup Language (XML) infrastructure messages, use the debug xml command in EXEC mode. To turn debugging off, use the no form of this command.
debug xml
no debug xml
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To 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.
Examples
The following example shows how to enable XML infrastructure debugging:
RP/0/RP0/CPU0:router# debug xml
Related Commands
Command DescriptionDisplays core XML infrastructure messages.
Displays DOM infrastructure messages.
Displays messages related to the XML parser module.
debug xml core
To display Extensible Markup Language (XML) infrastructure core messages, use the debug xml core command in EXEC mode. To turn debugging off, use the no form of this command.
debug xml core
no debug xml core
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To 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.
Examples
The following example shows how to enable XML infrastructure core debugging:
RP/0/RP0/CPU0:router# debug xml core
Related Commands
Command DescriptionDisplays XML infrastructure messages.
Displays DOM infrastructure messages.
Displays messages related to the XML parser module.
debug xml dom
To display Document Object Model (DOM) infrastructure messages, use the debug xml dom command in EXEC mode. To turn debugging off, use the no form of this command.
debug xml dom
no debug xml dom
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To 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.
Examples
The following example shows how to enable XML DOM infrastructure debugging:
RP/0/RP0/CPU0:router# debug xml dom
Related Commands
Command DescriptionDisplays XML infrastructure messages.
Displays core XML infrastructure messages.
Displays messages related to the XML parser module.
debug xml parser
To display messages from the Extensible Markup Language (XML) parser, use the debug xml parser command in EXEC mode. To turn debugging off, use the no form of this command.
debug xml parser
no debug xml parser
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To 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.
Use the debug xml parser command to view messages from the XML parser.
Examples
The following example shows how to enable XML parser debugging:
RP/0/RP0/CPU0:router# debug xml parser
Related Commands
Command DescriptionDisplays XML infrastructure messages.
Displays XML infrastructure core messages.
Displays DOM infrastructure messages.