Disabling Debugging For A Service; Disabling Debugging For All Services Started At All Terminal Sessions - Cisco XR 12000 Series Getting Started Manual

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Basic Troubleshooting Commands
####
ipv4 io icmp flag is ON
On a Cisco XR 12000 Series Router, the slot number of the tty ID is 0 or 1 instead of RP0 or RP1.
Enter the show debug conditions command to display the conditional debugging status. For example:
RP/0/0/CPU0:router# show debug conditions
####
interface

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/0/CPU0:router# no debug aaa all
RP/0/0/CPU0:router# show debug
####
ipv4 io icmp flag is ON
You can also turn off debugging from the undebug mode, as shown in the following example:
RP/0/0/CPU0:router# undebug
RP/0/0/CPU0:router(undebug)# aaa all
RP/0/0/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/0/CPU0:router# undebug all
RP/0/0/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
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
6-126
debug flags set from tty 'con0_RP1_CPU0'
debug conditions set from tty 'con0_RP1_CPU0'
condition is ON for interface 'POS0/2/0/1'
debug flags set from tty 'con0_RP1_CPU0'
Chapter 6
Troubleshooting the Cisco IOS XR Software
####
####
####
OL-24755-01

Advertisement

Table of Contents
loading

Table of Contents