Cisco Systems Cisco IOS XR User Manual

Page of 222
7-6
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 7      Troubleshooting the Cisco IOS XR Software
Basic Troubleshooting Commands
  cctl         Chassis control driver process debug
  cetftp       Control ethernet TFTP (CE-TFTP) server process debug
  cpuctrl      Debug Cpuctrl Driver
  describe     Describe a command without taking real actions
  diagnostic   Diagnostic debugging
  dsc          dsc debug: all, fsm, table, cfg, and api
  dumper       Admin Debug Dumper
  exit         Exit from this submode
  fabric       Fabric debugging
  fabricq      Debug Fabric Queue Manager
  fia          Debug the Fabric Interface ASIC (FIA) driver
  gsp          Admin Debug gsp
  ingressq     Debug Ingress Queue Manager
  install      Install debug information
  inv          Inventory manager process debug
  invd         Inventory debug: all, trap, dll mem
  invmgr       Inventory Manager client API interface debug
  ntp          NTP information
  oird         oird all, event, message
  pair         DRP Pairing debug: Display debugging messages of drp_pairing
  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 Feature
To enable debugging for a feature, enter the debug command in EXEC or administration EXEC mode 
and then enable the feature for debugging. For example:
RP/0/RP0/CPU0:router# debug
RP/0/RP0/CPU0:router(debug)# aaa all
RP/0/RP0/CPU0:router(debug)# exit
You can also enter the complete command from EXEC mode, as shown in the following example:
RP/0/RP0/CPU0:router# debug aaa all
Displaying Debugging Status
Enter the 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 RP1:
RP/0/RP0/CPU0:router# show debug
####  debug flags set from tty 'con0_RP1_CPU0'  ####
aaa all flag is ON
ipv4 io icmp flag is ON
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
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 RP0 or RP1.