Frame Relay Conditional Debug Support

Similar documents
PPPoE Session Recovery After Reload

IS-IS Incremental SPF

OSPF Incremental SPF

DHCP Lease Limit per ATM/RBE Unnumbered Interface

PPPoE Client DDR Idle Timer

Suppress BGP Advertisement for Inactive Routes

DHCP Option 82 Support for Routed Bridge Encapsulation

BGP Enforce the First Autonomous System Path

Logging to Local Nonvolatile Storage (ATA Disk)

IMA Dynamic Bandwidth

Generic Routing Encapsulation Tunnel IP Source and Destination VRF Membership

Per IP Subscriber DHCP Triggered RADIUS Accounting

QoS Child Service Policy for Priority Class

Extended NAS-Port-Type and NAS-Port Support

Configuring Multiple Basic Service Set Identifiers and Microsoft WPS IE SSIDL

ISSU and SSO DHCP High Availability Features

Packet Classification Using the Frame Relay DLCI Number

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

OSPF RFC 3623 Graceful Restart Helper Mode

IP SLAs Random Scheduler

SSG Service Profile Caching

Troubleshooting ISA with Session Monitoring and Distributed Conditional Debugging

Protocol-Independent MAC ACL Filtering on the Cisco Series Internet Router

BECN and FECN Marking for Frame Relay over MPLS

MPLS MTU Command Changes

PPP/MLP MRRU Negotiation Configuration

Modified LNS Dead-Cache Handling

RADIUS NAS-IP-Address Attribute Configurability

Cisco Unity Express Voic System User s Guide

VPDN Group Session Limiting

PPPoE Session Limits per NAS Port

Contextual Configuration Diff Utility

Autosense of MUX/SNAP Encapsulation and PPPoA/PPPoE on ATM PVCs

Configuring Route Maps to Control the Distribution of MPLS Labels Between Routers in an MPLS VPN

DHCP Relay MPLS VPN Support

VPDN LNS Address Checking

Low Latency Queueing with Priority Percentage Support

RADIUS Tunnel Preference for Load Balancing and Fail-Over

ATM VP Average Traffic Rate

DHCP ODAP Server Support

Installing IEC Rack Mounting Brackets on the ONS SDH Shelf Assembly

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

IP Event Dampening. Feature History for the IP Event Dampening feature

Chunk Validation During Scheduler Heapcheck

RADIUS Logical Line ID

Cisco Smart Business Communications System Teleworker Set Up

Configuring the Cisco IOS DHCP Relay Agent

Cisco Voice Applications OID MIB

Configuring Token Ring LAN Emulation for Multiprotocol over ATM

Route Processor Redundancy Plus (RPR+)

Exclusive Configuration Change Access and Access Session Locking

LAN Emulation Overview

Cisco Software Licensing Information for Cisco Unified Communications 500 Series for Small Business

QoS: Color-Aware Policer

This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(27)SBA.

Using Application Level Gateways with NAT

Configuring Virtual Interfaces

PPPoE Service Selection

Cisco 806, Cisco 820 Series, Cisco 830 Series, SOHO 70 Series and SOHO 90 Series Routers ROM Monitor Download Procedures

Configuring MPLS Multi-VRF (VRF-lite)

Cisco Report Server Readme

Wireless LAN Overview

Wireless LAN Error Messages

Application Firewall Instant Message Traffic Enforcement

MPLS VPN: VRF Selection Based on Source IP Address

QoS: Classification of Locally Sourced Packets

Cisco Aironet Directional Antenna (AIR-ANT-SE-WiFi-D)

Maintenance Checklists for Cisco Unity VPIM Networking (with Microsoft Exchange)

RSVP Message Authentication

Connecting Cisco WLAN Controller Enhanced Network Modules to the Network

IP SLAs Proactive Threshold Monitoring

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

Cisco Unified MeetingPlace for Microsoft Office Communicator

White Paper: Using Microsoft Windows Server 2003 with Cisco Unity 4.0(4)

Simple Network-Enabled Auto-Provisioning for Cisco IAD2420 Series IADs

Configuration Replace and Configuration Rollback

Installing the Cisco ONS Deep Door Kit

Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA USA

Maintenance Checklists for Microsoft Exchange on a Cisco Unity System

Configuring ISA Accounting

Cisco Unified Mobile Communicator 3.0 User Portal Guide

Cisco Aironet 1500 Series Access Point Large Pole Mounting Kit Instructions

L2VPN Pseudowire Switching

Release Notes for Cisco Aironet Client Utility and Driver, Version 3.0 for Mac OS

Site Preparation and Network Communications Requirements

Behavioral Change for Buffer Recarving

Using Microsoft Outlook to Schedule and Join Cisco Unified MeetingPlace Express Meetings

Connecting Cisco DSU/CSU High-Speed WAN Interface Cards

MPLS VPN OSPF and Sham-Link Support

This module was first published on May 2, 2005, and last updated on May 2, 2005.

Cisco Video Surveillance Virtual Matrix Client Configuration Guide

Cisco Unified Web and Interaction Manager Supervision Console User s Guide

Maintenance Checklists for Active Directory on a Cisco Unity System with Exchange as the Message Store

Release Notes for Cisco Security Agent for Cisco Unified MeetingPlace Release 6.0(7)

Configuring ISG VRF Transfer (Cisco IOS Release 12.2(28)SB)

Cisco 10-Gigabit Fibre Channel X2 Transceiver Module Installation Note

Cisco Interaction Manager Supervision Console User s Guide

Release Notes for Cisco ONS MA Release 9.01

MPLS Traffic Engineering (TE) Scalability Enhancements

Cisco BTS Softswitch Site Preparation and Network Communications Requirements, Release 6.0. Safety and Compliance

Transcription:

Frame Relay Conditional Debug Support First Published: May 06, 2004 Last Updated: June 19, 2006 The Frame Relay Conditional Debug Support feature introduces a filter to limit the number of Frame Relay debugging messages on the basis of an interface or a virtual circuit (VC). Multiple filters can be specified to debug more than one interface or PVC at a time. History for the Frame Relay Conditional Debug Support Feature Release 12.0(28)S 12.2(25)S 12.4(9)T Modification This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(25)S. This feature was integrated into Cisco IOS Release 12.4(9)T. Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required. Contents Prerequisites for Frame Relay Conditional Debug Support, page 2 Restrictions for Frame Relay Conditional Debug Support, page 2 Information About Frame Relay Conditional Debug Support, page 2 How to Configure Frame Relay Conditional Debug Support, page 3 Configuration Examples for Frame Relay Conditional Debug Support, page 5 Additional References, page 5 Command Reference, page 6 Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA 2004, 2006 Cisco Systems, Inc. All rights reserved.

Prerequisites for Frame Relay Conditional Debug Support Frame Relay Conditional Debug Support Prerequisites for Frame Relay Conditional Debug Support One or more Frame Relay-encapsulated interfaces must be enabled before the Frame Relay Conditional Debug Support feature can be used. Restrictions for Frame Relay Conditional Debug Support Only the following Frame Relay debugging commands can use the Frame Relay Conditional Debug Support feature: debug frame-relay ipc debug frame-relay lmi debug frame-relay packet debug frame-relay pseudowire Information About Frame Relay Conditional Debug Support You need to understand the following concept before using the Frame Relay Conditional Debug Support feature. Conditional Debugging Extended to Multiple Frame Relay Virtual Circuits, page 2 Conditional Debugging Extended to Multiple Frame Relay Virtual Circuits With the earlier conditional debugging model, you could monitor only a single DLCI-interface pair for a router at any given time. The model did not permit simultaneous debugging of more than one interface or VC at a time. The Frame Relay Conditional Debug Support feature introduced with Cisco IOS Releases 12.0(28)S and 12.2(25)S makes it possible to monitor more than one VC at a time, making it useful in networks that have large numbers of configured VCs (also called data-link connection identifiers or DLCIs). The conditional debugging model provided with the Frame Relay Conditional Debug Support feature also provides a more consistent mechanism for conditional debugging across the Cisco IOS software. The Cisco IOS software has always had the infrastructure to support conditional debugging based on various filters set at the command-line interface (CLI). The conditional debugging infrastructure could filter out or suppress unwanted messages from the output of any existing debug command. The Frame Relay Conditional Debug Support feature extends this infrastructure by adding keywords that address specific DLCI-interface pairs. This feature can be implemented on top of conventional debugging so that backward compatibility is ensured, and at the same time applications can take advantage of conditional debugging where required. This feature takes priority over legacy capability; that is, a debug condition set using the older debug condition interface command will be discarded as soon as a debug condition is enabled for an interface or DLCI using the new conditional debug feature. Onscreen messages advise the user as to whether the new model or legacy conditional debugging has been enabled. 2

Frame Relay Conditional Debug Support How to Configure Frame Relay Conditional Debug Support The debug condition interface command can still be used for enabling interface-level debugging. To enable packet debugging for a particular circuit, begin by identifying the circuit using the debug condition interface command and then enable the debug frame-relay packet command. For conditional debugging to work, only main interfaces and not subinterfaces should be passed as arguments to this command. How to Configure Frame Relay Conditional Debug Support See the following sections to configure the Frame Relay PVC and to enable debugging for the Frame Relay interface: Enabling Debugging for the Frame Relay Interface, page 3 (required) Verifying Frame Relay Conditional Debug Support, page 4 (optional) Enabling Debugging for the Frame Relay Interface The task in this section enables conditional debugging on a set of specified interfaces. For information about configuring a Frame Relay interface, see the documents listed in the Additional References section on page 4. Prerequisites SUMMARY STEPS You must turn on Frame Relay debugging and specify the conditions (interface or DLCI) for the Frame Relay Conditional Debug Support feature to work. 1. enable 2. debug condition interface interface-type interface-number [dlci dlci] 3. debug frame-relay [adjacency ipc lmi packet pseudowire] 3

How to Configure Frame Relay Conditional Debug Support Frame Relay Conditional Debug Support DETAILED STEPS Step 1 Step 2 Command or Action enable Example: Router> enable debug condition interface interface-type interface-number [dlci dlci] Purpose Enables privileged EXEC mode. Enter your password if prompted. Limits output for debugging on the basis of the interface or Frame Relay DLCI number. Example: Router# debug condition interface serial 4/3 dlci 105 Step 3 debug frame-relay [adjacency ipc lmi packet pseudowire] Displays various Frame Relay events. Example: Router# debug frame-relay packet Verifying Frame Relay Conditional Debug Support SUMMARY STEPS DETAILED STEPS To verify that the Frame Relay Conditional Debug Support feature is working correctly, perform this task. 1. enable 2. show debug condition Step 1 Step 2 Command or Action enable Example: Router> enable show debug condition Purpose Enables privileged EXEC mode. Enter your password if prompted. Displays filtered debug conditions. Example: Router# show debug condition 4

Frame Relay Conditional Debug Support Configuration Examples for Frame Relay Conditional Debug Support Configuration Examples for Frame Relay Conditional Debug Support This section provides the following configuration example: Enabling Debugging for a Specific Frame Relay DLCI: Example, page 5 Enabling Debugging for a Specific Frame Relay DLCI: Example The following example enables Frame Relay conditional debugging on Frame Relay DLCI 105: Router# debug condition interface serial 4/3 dlci 105 Router# debug frame-relay packet Additional References The following sections provide references related to the Frame Relay Conditional Debug Support feature. Related Documents Related Topic Conditionally triggered debugging Configuring Frame Relay Document Title Debug Command Reference: Conditionally Triggered Debugging chapter in the Cisco IOS Debug Command Reference, Release 12.4T Configuring Frame Relay part of the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.4 Standards Standard Title None MIBs MIB None MIBs Link To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs 5

Command Reference Frame Relay Conditional Debug Support RFCs RFC Title None Technical Assistance Description The Cisco Technical Support & Documentation website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content. Link http://www.cisco.com/techsupport Command Reference This section documents modified commands only. debug condition interface show debug condition 6

Frame Relay Conditional Debug Support debug condition interface debug condition interface To limit output for some debug commands on the basis of the interface, virtual circuit (VC), or VLAN, use the debug condition interface command in privileged EXEC mode. To remove the interface condition and reset the interface so that it must be triggered by a condition, use the no form of this command. debug condition interface interface-type interface-number [dlci dlci] [vc {vci vpi/vci}] [vlan-id vlan-id] no debug condition interface interface-type interface-number [dlci dlci] [vc {vci vpi/vci}] [vlan-id vlan-id] Syntax Description interface-type interface-number dlci dlci vc {vci vpi/vci} vlan-id vlan-id Interface type and number. No space is required between the interface type and number. Some interfaces require a slash between the type and number. (Optional) If the interface to be debugged is a Frame Relay-encapsulated interface, specifies the data-link connection identifier (DLCI). (Optional) If the interface to be debugged is an ATM-encapsulated interface, specifies the virtual channel identifier (VCI) or virtual path identifier/virtual channel identifier (VPI/VCI) pair. (The slash is required.) (Optional) If the interface to be debugged is ATM, Ethernet, Fast Ethernet, or Gigabit Ethernet, specifies the VLAN ID. Defaults All debugging messages for enabled debug commands are displayed. Command Modes Privileged EXEC Command History Release 12.0(28)S 12.2(25)S 12.2(27)SBC 12.2(28)SB 12.4(9)T Modification The dlci and vc keywords were added for additional Frame Relay and ATM functionality. This command was integrated into Cisco IOS Release 12.2(25)S. This command was integrated into Cisco IOS Release 12.2(27)SBC. The ability to filter debug output on the basis of VLAN ID was added. This command was integrated into Cisco IOS Release 12.4(9)T. Usage Guidelines Use this command to restrict the debugging output for some commands on the basis of an interface or virtual circuit. When you enter this command, debugging output is turned off for all interfaces except the specified interface or virtual circuit. In addition, this command enables conditional debugging to limit output for specific debugging events. Messages are displayed as different interfaces meet specific conditions. 7

debug condition interface Frame Relay Conditional Debug Support The no form of the command has two functions: It disables the debug condition interface command for the specified interface. Output is no longer generated for the interface, assuming that the interface meets no other applicable conditions. If the interface meets other conditions that have been set by another debug condition command, debugging output will still be generated for the interface. If some other debug condition command has been enabled, output is stopped for that interface until the condition is met on the interface. You will be asked for confirmation before the last condition or all conditions are removed. Not all debugging output is affected by the debug condition command. Some commands generate output whenever they are enabled, regardless of whether they meet any conditions. The commands that are affected by the debug condition commands are generally related to dial access functions, where a large amount of output is expected. Output from the following commands is controlled by the debug condition command: debug aaa debug atm debug dialer events debug frame-relay debug isdn debug modem debug ppp One or more ATM-encapsulated interfaces must be enabled, and one or more of the following debug commands must be enabled to use conditional debugging with ATM: debug atm arp debug atm counters debug atm errors debug atm events debug atm oam debug atm packet debug atm state One or more of the following debug commands must be enabled to use conditional debugging with Frame Relay: debug frame-relay adjacency debug frame-relay ipc debug frame-relay lmi debug frame-relay packet debug frame-relay pseudowire Examples In the following example, only debug command output related to serial interface 1 is displayed. The condition identifier for this command is 1. Router# debug condition interface serial 1 Condition 1 set 8

Frame Relay Conditional Debug Support debug condition interface The following example enables an ATM interface, specifies an IP address for the interface, turns on conditional debugging for that interface with a VPI/VCI pair of 255/62610, and verifies that debugging has been enabled: Router> enable Password: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface ATM 2/0 Router(config-if)# ip address 10.0.0.5 255.255.255.0 Router(config-if)# pvc 255/62610 Router(config-if-atm-vc)# no shutdown Router(config-if)# exit Router(config)# exit 2w3d: %SYS-5-CONFIG_I: Configured from console by console Router# debug atm state ATM VC States debugging is on Router# debug condition interface ATM2/0 vc 255/62610 Condition 1 set 2w3d: ATM VC Debug: Condition 1, atm-vc 255/62610 AT2/0 triggered, count 1 Router# show debug condition Condition 1: atm-vc 255/62610 AT2/0 (1 flags triggered) Flags: ATM VC In the following example, Frame Relay conditional debugging is enabled on Frame Relay DLCI 105: Router# debug condition interface serial 4/3 dlci 105 Router# debug frame-relay packet Related Commands Command Description debug condition Limits output for some debug commands on the basis of specific conditions. 9

show debug condition Frame Relay Conditional Debug Support show debug condition To display the debugging filters that have been enabled for VoiceXML applications, ATM-enabled interfaces, or Frame Relay interfaces, use the show debug condition command in privileged EXEC mode. show debug condition Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History Release Modification 12.2(11)T This command was introduced on the Cisco 3640, Cisco 3660, Cisco AS5300, Cisco AS5350, and Cisco AS5400. 12.0(28)S This command was integrated into Cisco IOS Release 12.0(28)S and was enhanced to include debugging for ATM-enabled and Frame Relay-enabled interfaces. 12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S. 12.2(27)SBC This command was integrated into Cisco IOS Release 12.2(27)SBC. 12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB. 12.4(9)T This command was enhanced to include debugging for ATM-enabled and Frame Relay-enabled interfaces. Usage Guidelines This command displays the debugging filter conditions that have been set for VoiceXML applications by using the debug condition application voice command. Examples The following is sample output from this command when it is used with the VoiceXML application: Router# show debug condition Condition 1: application voice vmail (1 flags triggered) Flags: vmail Condition 2: application voice myapp1 (1 flags triggered) Flags: myapp1 The following is sample output from this command when an ATM interface is being debugged: Router# show debug condition Condition 1: atm-vc 0/56784 AT2/0 (0 flags triggered) Condition 2: atm-vc 255/45546 AT2/0 (0 flags triggered) Condition 3: atm-vc 0/266 AT6/0 (1 flags triggered) 10

Frame Relay Conditional Debug Support show debug condition Table 1 describes the significant fields shown in the display. Table 1 Field Condition 1 Flags at2/0 atm-vc 0/56784 show debug condition Field Descriptions Description Sequential number identifying the filter condition that was set for the specified command. Name of the voice application for which the condition was set. Interface number of the ATM interface that has the debug condition applied. Virtual channel identifier (VCI). Alternatively, virtual path identifier/virtual channel identifier (VCI/VPI) pair. Related Commands Command debug condition application voice debug http client debug vxml Description Filters out debugging messages for all VoiceXML applications except the specified application. Displays debugging messages for the HTTP client. Displays debugging messages for VoiceXML features. CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Le a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the C Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco U Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, iphone, IP/TV, iq Expertise, the iq logo, iq Net Readiness Scorecard, iquick Study, LightStream, Linksys, MeetingPlace, MGX, Networ Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quo and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2004, 2006 Cisco Systems, Inc. All rights reserved. 11

show debug condition Frame Relay Conditional Debug Support 12