Embedded Event Manager Debug Commands on Cisco IOS XR Software This chapter describes the commands used to debug Embedded Event Manager on Cisco IOS XR software. Caution Because debugging output is assigned high priority in the CPU process, it can render the system unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. Moreover, it is best to use debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use. DMNR-7
debug event manager all Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager all To turn on debugging for the Embedded Event Manager, use the debug event manager all command in EXEC mode. To turn off debugging for the Embedded Event Manager, use the no form of this command. debug event manager all no debug event manager all Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager all command was replaced with the debug event manager all command. Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read DMNR-8
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager all Examples The following example shows how to enable Embedded Event Manager debugging: RP/0/RP0/CPU0:router# debug event manager all Related Commands Command Description debug event manager api Turns on debugging for the Embedded Event Manager API. debug event manager detector Turns on debugging for a particular Event Manager fault detector. debug event manager metricdir Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. debug event manager scriptdir Turns on debugging for the Embedded Event Manager fm_script_dir process. debug event manager server Turns on debugging for the Embedded Event Manager server process. debug event manager tcl Turns on debugging for the Embedded Event Manager tclsh interpreter. undebug Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-9
debug event manager api Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager api To turn on debugging for the Embedded Event Manager application program interface (API), use the debug event manager api command in EXEC mode. To turn off debugging for the Embedded Event Manager API, use the no form of this command. debug event manager api {calls errors} [process process-name job jobid] [location node-id] no debug event manager api {calls errors} [process process-name job jobid] [location node-id] Syntax Description calls errors process process-name job jobid location node-id Debugs calls to Embedded Event Manager client API. Debugs errors in the Embedded Event Manager client API library. (Optional) Displays Embedded Event Manager API debug information for a specific process. It indicates the process name or PID. (Optional) Displays Embedded Event Manager API debug information for a specific job identifier. It specifies the job identifier. Range is 0 to 4294967295. (Optional) Displays Embedded Event Manager API debug information for a specified location. The node-id argument is entered in the rack/slot/module notation. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager api command was replaced with the debug event manager api command. DMNR-10
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager api Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read Examples The following example shows how to enable Embedded Event Manager API debugging: RP/0/RP0/CPU0:router# describe debug event manager api calls job 2 Related Commands Command debug event manager all debug event manager detector debug event manager metricdir debug event manager scriptdir debug event manager server debug event manager tcl undebug Description Turns on debugging for the Embedded Event Manager. Turns on debugging for a particular Embedded Event Manager fault detector. Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. Turns on debugging for the Embedded Event Manager fm_script_dir process. Turns on debugging for the Embedded Event Manager server process. Turns on debugging for the Embedded Event Manager tclsh interpreter. Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-11
debug event manager detector Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager detector To turn on debugging for a particular Embedded Event Manager fault detector, use the debug event manager detector command in EXEC mode. To turn off debugging for a particular Embedded Event Manager fault detector, use the no form of this command. debug event manager detector {none counter drvinfra hardware statistics syslog sysmgr [location node-id] timer wdsysmon [location node-id]} no debug event manager detector {none counter drvinfra hardware statistics syslog sysmgr [location node-id] timer wdsysmon [location node-id]} Syntax Description none counter drvinfra hardware statistics syslog sysmgr location node-id timer wdsysmon Displays none fault detector debug information. Displays counter fault detector debug information. Displays driver/infra fault detector debug information. Displays hardware (envmon) fault detector debug information. Displays statistics fault detector debug information. Displays SYSLOG fault detector debug information. Displays SYSMGR fault detector debug information. (Optional) Displays Embedded Event Manager fault detector debug information for a specified location. The node-id argument is entered in the rack/slot/module notation. Displays timer fault detector debug information. Displays WDSYSMON fault detector debug information. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager detector command was replaced with the debug event manager detector command. The none fault detector was introduced. DMNR-12
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager detector Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read Examples The following example shows how to enable Embedded Event Manager detector debugging: RP/0/RP0/CPU0:router# debug event manager detector cli Related Commands Command debug event manager all debug event manager api debug event manager metricdir debug event manager scriptdir debug event manager server debug event manager tcl undebug Description Turns on debugging for the Embedded Event Manager. Turns on debugging for the Embedded Event Manager API. Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. Turns on debugging for the Embedded Event Manager fm_script_dir process. Turns on debugging for the Embedded Event Manager server process. Turns on debugging for the Embedded Event Manager tclsh interpreter. Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-13
debug event manager metricdir Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager metricdir To turn on debugging for the Embedded Event Manager fm_metric_dir process, use the debug event manager metricdir command in EXEC mode. To turn off debugging for the Embedded Event Manager fm_metric_dir process, use the no form of this command. debug event manager metricdir no debug event manager metricdir Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager metricdir command was replaced with the debug event manager metricdir command. Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read DMNR-14
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager metricdir Examples The following example shows how to enable Embedded Event Manager fm_metric_dir process debugging: RP/0/RP0/CPU0:router# debug event manager metricdir Related Commands Command Description debug event manager all Turns on debugging for the Embedded Event Manager. debug event manager api Turns on debugging for the Embedded Event Manager API. debug event manager detector Turns on debugging for a particular Embedded Event Manager detector. debug event manager scriptdir Turns on debugging for Embedded Event Manager fm_script_dir process. debug event manager server Turns on debugging for Embedded Event Manager server process. debug event manager tcl Turns on debugging for the Embedded Event Manager tclsh interpreter. undebug Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-15
debug event manager scriptdir Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager scriptdir To turn on debugging for the Embedded Event Manager fm_script_dir process, use the debug event manager scriptdir command in EXEC mode. To turn off debugging for the Embedded Event Manager fm_script_dir process, use the no form of this command. debug event manager scriptdir no debug event manager scriptdir Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager scriptdir command was replaced with the debug event manager scriptdir command. Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read DMNR-16
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager scriptdir Examples The following example shows how to enable Embedded Event Manager fm_script_dir process debugging: RP/0/RP0/CPU0:router# debug event manager scriptdir Related Commands Command Description debug event manager all Turns on debugging for the Embedded Event Manager. debug event manager api Turns on debugging for the Embedded Event Manager API. debug event manager detector Turns on debugging for a particular Embedded Event Manager fault detector. debug event manager metricdir Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. debug event manager server Turns on debugging for the Embedded Event Manager server process. debug event manager tcl Turns on debugging for the Embedded Event Manager tclsh interpreter. undebug Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-17
debug event manager server Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager server To turn on debugging for the Embedded Event Manager server process, use the debug event manager server command in EXEC mode. To turn off debugging for the Embedded Event Manager server process, use the no form of this command. debug event manager server {events scheduling} no debug event manager server {events scheduling} Syntax Description events scheduling Debugs Embedded Event Manager server events. Debugs Embedded Event Manager server policy scheduling. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager server command was replaced with the debug event manager server command. Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. Use this command to turn on debugging for the Embedded Event Manager server process. DMNR-18
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager server fault-mgr Operations read Examples The following example shows how to enable Embedded Event Manager server process debugging: RP/0/RP0/CPU0:router# debug event manager server events Related Commands Command debug event manager all debug event manager api debug event manager detector debug event manager metricdir debug event manager tcl undebug Description Turns on debugging for the Embedded Event Manager. Turns on debugging for the Embedded Event Manager API. Turns on debugging for a particular Embedded Event Manager fault detector. Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. Turns on debugging for the Embedded Event Manager tclsh interpreter. Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-19
debug event manager tcl Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager tcl To turn on debugging for the Embedded Event Manager tclsh interpreter, use the debug event manager tcl command in EXEC mode. To turn off debugging for the Embedded Event Manager tclsh interpreter, use the no form of this command. debug event manager tcl no debug event manager tcl Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes EXEC Command History Release Release 2.0 Release 3.0 Release 3.2 Release 3.3.0 Release 3.4.0 Release 3.5.0 Release 3.6.0 Release 3.7.0 Release 3.8.0 Modification This command was introduced on the Cisco CRS-1. This command was supported on the Cisco XR 12000 Series Router. Fault Manager was renamed as Embedded Event Manager. The debug fault manager tcl command was replaced with the debug event manager tcl command. Usage Guidelines To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs.If you need assistance with your task group assignment, contact your system administrator.for detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of 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. fault-mgr Operations read DMNR-20
Embedded Event Manager Debug Commands on Cisco IOS XR Software debug event manager tcl Examples The following example shows how to enable Embedded Event Manager tclsh interpreter debugging: RP/0/RP0/CPU0:router# debug event manager tcl Related Commands Command Description debug event manager all Turns on debugging for the Embedded Event Manager. debug event manager api Turns on debugging for the Embedded Event Manager API. debug event manager detector Turns on debugging for a particular Embedded Event Manager fault detector. debug event manager metricdir Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process. debug event manager scriptdir Turns on debugging for the Embedded Event Manager fm_script_dir process. debug event manager server Turns on debugging for Embedded Event Manager server process. undebug Enters debugging mode to disable or reset multiple active debug command sessions. DMNR-21
debug event manager tcl Embedded Event Manager Debug Commands on Cisco IOS XR Software DMNR-22