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.

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:

Displaying a List of Debug Features, page 7-5

Enabling Debugging for a Feature, page 7-6

Disabling Debugging for a Service, page 7-7

Displaying Debugging Status, page 7-6

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.

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:

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)# ?

Cisco IOS XR Getting Started Guide

 

OL-10957-02

7-5

 

 

 

Page 181
Image 181
Cisco Systems Cisco IOS XR Using debug Commands, Displaying a List of Debug Features, RP/0/RP0/CPU0router# traceroute