6-5
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 6 Troubleshooting the Cisco IOS XR Software
Basic Troubleshooting Commands
shelfmgr Shelfmgr debug: all, heartbeat, boot, fsm, init and eah
sysdb Configure SysDB debug settings
upgrade-fpd Debug upgrade fpd
--More--
Enabling Debugging for a FeatureTo enable debugging for a feature, type the debug command in EXEC or administration EXEC mode
and then enable the feature for debugging. For example:
RP/0/RSP0/CPU0:router# debug
RP/0/RSP0/CPU0:router(debug)# aaa all
RP/0/RSP0/CPU0:router(debug)# exit
You can also type the complete command from EXEC mode, as shown in the following example:
RP/0/RSP0/CPU0:router# debug aaa all
Viewing Debugging StatusType t he show debug command to display the debugging features enabled for your terminal session. The
terminal session is labeled tty and represents your connection to the router through a specific port, which
might be the console port, auxiliary port, or Management Ethernet interface. In the following example,
the command display indicates that debugging is enabled for two features (AAA and ipv4 io icmp) from
a terminal session on the console port of RSP1:
RP/0/RSP0/CPU0:router# show debug
#### debug flags set from tty 'con0_RSP1_CPU0' ####
aaa all flag is ON
ipv4 io icmp flag is ON
RP/0/RSP0/CPU0:router# no debug aaa all
RP/0/RSP0/CPU0:router# show debug
#### debug flags set from tty 'con0_RSP1_CPU0' ####
ipv4 io icmp flag is ON
The preceding example is for a Cisco CRS-1 router. On a Cisco XR 12000 Series Router, the slot
number of the tty ID is 0 or 1 instead of RSP0 or RSP1.
Type t he show debug conditions command to display the conditional debugging status. For example:
RP/0/RSP0/CPU0:router# show debug conditions
#### debug conditions set from tty 'con0_RSP1_CPU0' ####
interface condition is ON for interface 'gi0/2/0/1'
Disabling Debugging for a ServiceUse 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/RSP0/CPU0:router# no debug aaa all
RP/0/RSP0/CPU0:router# show debug
#### debug flags set from tty 'con0_RSP1_CPU0' ####
ipv4 io icmp flag is ON