Cisco Systems Cisco IOS XR User Manual

Page of 222
7-7
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 7      Troubleshooting the Cisco IOS XR Software
Configuration Error Messages
Enter the show debug conditions command to display the conditional debugging status. For example:
RP/0/RP0/CPU0:router# show debug conditions
####  debug conditions set from tty 'con0_RP1_CPU0'  ####
interface  condition is ON for interface 'POS0/2/0/1'
Disabling Debugging for a Service
Use the no form of the debug command or the undebug command to turn off debugging for a service or 
subsystem. 
In the following example, the no debug command disables debugging for the AAA feature:
RP/0/RP0/CPU0:router# no debug aaa all
RP/0/RP0/CPU0:router# show debug
####  debug flags set from tty 'con0_RP1_CPU0'  ####
ipv4 io icmp flag is ON
You can also turn off debugging from the undebug mode, as shown in the following example:
RP/0/RP0/CPU0:router# undebug
RP/0/RP0/CPU0:router(undebug)# aaa all
RP/0/RP0/CPU0:router(undebug)# exit
Disabling Debugging for All Services Started at the Active Terminal Session
Use the undebug all or no debug all command to turn off all debugging started by the active terminal 
session. For example, if you enter either of these commands while connected to the router through the 
console port on the active RP, all debug sessions started from that console port are disabled. In the 
following example, debugging for all services is disabled and then verified:
RP/0/RP0/CPU0:router# undebug all
RP/0/RP0/CPU0:router# show debug
No matching debug flags set
Disabling Debugging for All Services Started at All Terminal Sessions
Use the undebug all all-tty command to turn off debugging for all services that have been started from 
all terminal sessions. For example if you enter this command while connected to the router through the 
console port on the active RP, all debug sessions started from all ports are disabled. In the following 
example, debugging for all services and ports is disabled and then verified:
RP/0/0/CPU0:router# undebug all all-tty
RP/0/0/CPU0:router# show debug
No matching debug flags set
Configuration Error Messages
The following sections contain information on configuration error messages: