Cisco Systems Cisco IOS XR Manual De Usuario
7-5
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 7 Troubleshooting the Cisco IOS XR Software
Basic Troubleshooting Commands
Examples
In the following example, the route for an IP address is displayed:
RP/0/RP0/CPU0:router# traceroute 10.233.233.233
Type escape sequence to abort.
Tracing the route to 10.233.233.233
1 172.25.0.2 11 msec 2 msec 1 msec
2 192.255.254.254 1 msec * 2 msec
Using debug Commands
Debug commands are used to diagnose and resolve network problems. Use debug commands to
troubleshoot specific problems or during troubleshooting sessions.
troubleshoot specific problems or during troubleshooting sessions.
Use debug commands to turn on or off debugging for a specific service or subsystem. When debugging
is turned on for a service, a debug message is generated each time the debugging code section is entered.
The following sections provide information on debugging:
is turned on for a service, a debug message is generated each time the debugging code section is entered.
The following sections provide information on debugging:
•
•
•
•
Caution
Debug commands can generate a very large amount of output and can render the system unusable. Use
debug to troubleshoot specific problems or during specific troubleshooting sessions on systems that are
not in production.
debug to troubleshoot specific problems or during specific troubleshooting sessions on systems that are
not in production.
Displaying a List of Debug Features
To display a list of the available debug features, enter the debug mode and enter a ? for on-screen help.
The set of debug mode features is different in EXEC and administration EXEC modes. In the following
example, EXEC mode is the entry point to debug mode:
The set of debug mode features is different in EXEC and administration EXEC modes. In the following
example, EXEC mode is the entry point to debug mode:
RP/0/RP0/CPU0:router# debug
RP/0/RP0/CPU0:router(debug)# ?
aaa AAA Authentication, Authorization and Accounting
adjacency Adjacency debug
adjacency platform AIB information
aib AIB information
alarm-logger Turn on alarm debugging
arm IP Address Repository Manager
arp IP ARP transactions
asic-errors Debug ASIC erors
asic-scan Debug Asic Scan
--More--
In the next example, administration EXEC mode is the entry point to debug mode:
RP/0/RP1/CPU0:router# admin
RP/0/RP1/CPU0:router(admin)# debug
RP/0/RP1/CPU0:router(admin-debug)# ?