Disabling Debugging For A Service; Disabling Debugging For All Services Started At All Terminal Sessions - Cisco ASR 9000 Getting Started Manual

Services router
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Basic Troubleshooting Commands
####
ipv4 io icmp flag is ON
On a Cisco ASR 9000 Series Router, the slot number of the tty ID is 0 or 1 instead of RSP0 or RSP1.
Enter the show debug conditions command to display the conditional debugging status. For example:
RP/0/RSP0/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/RSP0/CPU0:router# no debug aaa all
RP/0/RSP0/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/RSP0/CPU0:router# undebug
RP/0/RSP0/CPU0:router(undebug)# aaa all
RP/0/RSP0/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/RSP0/CPU0:router# undebug all
RP/0/RSP0/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 RSP, 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/RSP0/CPU0:router# undebug all all-tty
RP/0/RSP0/CPU0:router# show debug
No matching debug flags set
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
142
debug flags set from tty 'con0_RSP1_CPU0'
debug conditions set from tty 'con0_RSP1_CPU0'
condition is ON for interface 'gi0/2/0/1'
debug flags set from tty 'con0_RSP1_CPU0'
Troubleshooting the Cisco IOS XR Software
####
####
####
OL-28417-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents