Catalyst 2950 and Catalyst 2955 Switch Command Reference, 12.1(22)EA11 and Later
Catalyst 2950 and 2955 Switch Debug Commands

Table Of Contents

Catalyst 2950 and 2955 Switch Debug Commands

debug auto qos

debug dot1x

debug etherchannel

debug lre

debug pagp

debug pm

debug spanning-tree

debug spanning-tree backbonefast

debug spanning-tree bpdu

debug spanning-tree bpdu-opt

debug spanning-tree mstp

debug spanning-tree switch

debug spanning-tree uplinkfast

debug switch dhcp

debug sw-vlan

debug sw-vlan ifs

debug sw-vlan notification

debug sw-vlan vtp

debug udld


Catalyst 2950 and 2955 Switch Debug Commands


This appendix describes the Catalyst 2950- and Catalyst 2955-specific debug privileged EXEC commands. These commands are helpful in diagnosing and resolving internetworking problems and should be used only with the guidance of Cisco technical support staff.


Caution Because debugging output is assigned high priority in the CPU process, it can render the system unusable. For this reason, use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. It is best to use the debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.

debug auto qos

Use the debug auto qos privileged EXEC command to enable debugging of the automatic quality of service (auto-QoS) feature. Use the no form of this command to disable debugging.

debug auto qos

no debug auto qos

Syntax Description

This command has no arguments or keywords.

Defaults

Auto-QoS debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(12c)EA1

This command was introduced.

12.1(20)EA2

The command changed from debug autoqos to debug auto qos.


Usage Guidelines

To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable debugging before you enable auto-QoS. You enable debugging by entering the debug auto qos privileged EXEC command.

The undebug auto qos command is the same as the no debug auto qos command.

Examples

This example shows how to display the QoS configuration that is automatically generated when auto-QoS is enabled:

Switch# debug auto qos
AutoQoS debugging is on
Switch# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)# interface fastethernet0/1
Switch(config-if)# auto qos voip cisco-phone
00:02:54:wrr-queue bandwidth 10 20 70 1
00:02:55:no wrr-queue cos-map
00:02:55:wrr-queue cos-map 1 0 1
00:02:56:wrr-queue cos-map 2 2 4
00:02:57:wrr-queue cos-map 3 3 6 7
00:02:58:wrr-queue cos-map 4 5
00:02:59:mls qos map cos-dscp 0 8 16 26 32 46 48 56
00:03:00:interface FastEthernet0/1
00:03:00: mls qos trust device cisco-phone
00:03:00: mls qos trust cos

Related Commands

Command
Description

auto qos voip

Configure auto-QoS for voice over IP (VoIP) within a QoS domain.

show auto qos

Displays the configuration applied and the new defaults in effect when auto-QoS is enabled.

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.


debug dot1x

Use the debug dot1x privileged EXEC command to enable debugging of the IEEE 802.1x authentication feature. Use the no form of this command to disable debugging.

debug dot1x {all | errors | events | packets | registry | state-machine}

no debug dot1x {all | errors | events | packets | registry | state-machine}

Syntax Description

all

Display all IEEE 802.1x authentication debug messages.

errors

Debug IEEE 802.1x error debug messages.

events

Debug IEEE 802.1x event debug messages.

packets

Debug IEEE 802.1x packet debug messages.

registry

Debug registry invocation debug messages.

state-machine

Debug state-machine related-events debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.

12.1(14)EA1

The authsm, backend, besm, core, and reauthsm keywords were removed. The errors, events, packets registry, and state-machine keywords were added.


Usage Guidelines

The undebug dot1x command is the same as the no debug dot1x command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show dot1x

Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface.


debug etherchannel

Use the debug etherchannel privileged EXEC command to enable debugging of the EtherChannel/PAgP shim. This shim is the software module that is the interface between the Port Aggregation Protocol (PAgP) software module and the port manager software module. Use the no form of this command to disable debugging.

debug etherchannel [all | detail | error | event | idb]

no debug etherchannel [all | detail | error | event | idb]

Syntax Description

all

(Optional) Display all EtherChannel debug messages.

detail

(Optional) Display detailed EtherChannel debug messages.

error

(Optional) Display EtherChannel error debug messages.

event

(Optional) Debug major EtherChannel event debug messages.

idb

(Optional) Debug PAgP interface descriptor block debug messages.



Note Though visible in the command-line help strings, the linecard keyword is not supported.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

If you do not specify a keyword, all debug messages appear.

The undebug etherchannel command is the same as the no debug etherchannel command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show etherchannel

Displays EtherChannel information for the channel.


debug lre

Use the debug lre privileged EXEC command to enable debugging of the Catalyst 2950 Long-Reach Ethernet (LRE) switch and links. Use the no form of this command to disable debugging.

debug lre [controller | discovery | errors | profile | state | timing | upgrade] [interface-id]

no debug lre [controller | discovery | errors | profile | state | timing | upgrade] [interface-id]

This command is available only on a Catalyst 2950 LRE switch.

Syntax Description

controller

(Optional) Display switch controller debug messages.

discovery

(Optional) Display customer premises equipment (CPE) discovery debug messages.

errors

(Optional) Display error debug messages.

profile

(Optional) Display profile debug messages.

state

(Optional) Display finite state machine (FSM) debug messages.

timing

(Optional) Display timing debug messages.

upgrade

(Optional) Display upgrade debug messages.

interface-id

(Optional) Display debug messages for the specified port.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(11)YJ

This command was introduced.


Usage Guidelines

This command can be entered only from the switch console.

The undebug lre command is the same as the no debug lre command.

Related Commands

Command
Description

show controllers lre status

Displays the LRE link statistics and profile information on a switch LRE port, including link state, link duration, data rates, signal-to-noise ratio, and Reed Solomon errors.


debug pagp

Use the debug pagp privileged EXEC command to enable debugging of Port Aggregation Protocol (PAgP) activity. Use the no form of this command to disable debugging.

debug pagp [all | event | fsm | misc | packet]

no debug pagp [all | event | fsm | misc | packet]

Syntax Description

all

(Optional) Display all PAgP debug messages.

event

(Optional) Display PAgP event debug messages.

fsm

(Optional) Display PAgP finite state-machine debug messages.

misc

(Optional) Display miscellaneous PAgP debug messages

packet

(Optional) Display PAgP packet debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug pagp command is the same as no debug pagp command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show pagp

Displays PAgP channel-group information.



debug pm

Use the debug pm privileged EXEC command to enable debugging of port manager (PM) activity. The port manager is a state machine that controls all the logical and physical interfaces. All features, such as VLANs, UniDirectional Link Detection (UDLD), and so forth, work with the port manager to provide switch functions. Use the no form of this command to disable debugging.

debug pm {all | assert | card | cookies | etherchnl | messages | port | registry | sm | span | split | vlan | vp}

no debug pm {all | assert | card | cookies | etherchnl | messages | port | registry | sm | span | split | vlan | vp}

Syntax Description

all

Display all PM debug messages.

assert

Display assert debug messages.

card

Display line-card related-events debug messages.

cookies

Display internal PM cookie validation debug messages.

etherchnl

Display EtherChannel related-events debug messages.

messages

Display Host Access Table events debug messages.

port

Display PM debug messages.

registry

Display port related-events debug messages.

sm

Display PM registry invocation debug messages.

span

Display state-machine related-events debug messages.

split

Display spanning-tree related-events debug messages.

vlan

Display split-processor debug messages.

vp

Display VLAN related-events debug messages.



Note Though visible in the command-line help strings, the scp and pvlan keywords are not supported.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug pm command is the same as the no debug pm command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.



debug spanning-tree

Use the debug spanning-tree privileged EXEC command to enable debugging of spanning-tree activities. Use the no form of this command to disable debugging.

debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | csuf/csrt | etherchannel | events | exceptions | general | mstp | pvst+ | root | snmp | switch | synchronization | uplinkfast}

no debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | csuf/csrt | etherchannel | events | exceptions | general | mstp | pvst+ | root | snmp | switch | synchronization | uplinkfast}


Note The csuf option is not supported on the switch.


Syntax Description

all

Display all spanning-tree debug messages.

backbonefast

Display BackboneFast-event debug messages.

bpdu

Display spanning-tree bridge protocol data unit (BPDU) debug messages.

bpdu-opt

Display optimized BPDU handling debug messages.

config

Display spanning-tree configuration change debug messages.

csuf/csrt

Display cross-stack UplinkFast activity debug messages.

etherchannel

Display EtherChannel-support debug messages.

events

Display spanning-tree topology event debug messages.

exceptions

Display spanning-tree exception debug messages.

general

Display general spanning-tree activity debug messages.

mstp

Debug Multiple Spanning Tree Protocol events.

pvst+

Display per-VLAN spanning-tree plus (PVST+) event debug messages.

root

Display spanning-tree root-event debug messages.

snmp

Display spanning-tree Simple Network Management Protocol (SNMP) handling debug messages.

switch

Display switch shim command debug messages. This shim is the software module that is the interface between the generic Spanning Tree Protocol (STP) code and the platform-specific code of various switch platforms.

synchronization

Display the spanning-tree synchronization event debug messages.

uplinkfast

Display UplinkFast-event debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.

12.1(9)EA1

The mstp and csuf/csrt keywords were added.


Usage Guidelines

The undebug spanning-tree command is the same as the no debug spanning-tree command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.


debug spanning-tree backbonefast

Use the debug spanning-tree backbonefast privileged EXEC command to enable debugging of spanning-tree BackboneFast events. Use the no form of this command to disable debugging.

debug spanning-tree backbonefast [detail | exceptions]

no debug spanning-tree backbonefast [detail | exceptions]

Syntax Description

detail

(Optional) Display detailed BackboneFast debug messages.

exceptions

(Optional) Display spanning-tree BackboneFast-exception debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug spanning-tree backbonefast command is the same as the no debug spanning-tree backbonefast command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.



debug spanning-tree bpdu

Use the debug spanning-tree bpdu privileged EXEC command to enable debugging of sent and received spanning-tree bridge protocol data units (BPDUs). Use the no form of this command to disable debugging.

debug spanning-tree bpdu [receive | transmit]

no debug spanning-tree bpdu [receive | transmit]

Syntax Description

receive

(Optional) Display the nonoptimized path for received BPDU debug messages.

transmit

(Optional) Display the nonoptimized path for transmitted BPDU debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug spanning-tree bpdu command is the same as the no debug spanning-tree bpdu command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.



debug spanning-tree bpdu-opt

Use the debug spanning-tree bpdu-opt privileged EXEC command to enable debugging of optimized spanning-tree bridge protocol data units (BPDUs) handling. Use the no form of this command to disable debugging.

debug spanning-tree bpdu-opt [detail | packet]

no debug spanning-tree bpdu-opt [detail | packet]

Syntax Description

detail

(Optional) Display detailed optimized BPDU-handling debug messages.

packet

(Optional) Display packet-level optimized BPDU-handling debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug spanning-tree bpdu-opt command is the same as the no debug spanning-tree bpdu-opt command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.



debug spanning-tree mstp

Use the debug spanning-tree mstp privileged EXEC command to enable debugging of the Multiple Spanning Tree Protocol (MSTP) software. Use the no form of this command to disable debugging.

debug spanning-tree mstp {all | boundary | bpdu-rx | bpdu-tx | errors | flush | init | migration | pm | proposals | region | roles | sanity_check | sync | tc | timers}

no debug spanning-tree mstp {all | boundary | bpdu-rx | bpdu-tx | errors | flush | init | migration | pm | proposals | region | roles | sanity_check | sync | tc | timers}

Syntax Description

all

Display all MSTP debug messages.

boundary

Display flag change debug messages at these boundaries:

An multiple spanning-tree (MST) region and a single spanning-tree region running Rapid Spanning Tree Protocol (RSTP)

An MST region and a single spanning-tree region running IEEE 802.1D

An MST region and another MST region with a different configuration

bpdu-rx

Display received MST bridge protocol data unit (BPDUs) debug messages.

bpdu-tx

Display sent MST BPDU debug messages.

errors

Display MSTP error debug messages.

flush

Display port-flushing mechanism debug messages.

init

Display MSTP data structure initialization debug messages.

migration

Display protocol-migration state-machine debug messages.

pm

Display MSTP port-manager event debug messages.

proposals

Display handshake messages between the designated switch and the root switch debug messages.

region

Display region synchronization between the switch processor (SP) and the route processor (RP) debug messages.

roles

Display MSTP role debug messages.

sanity_check

Display received BPDU sanity check debug messages.

sync

Display port synchronization event debug messages.

tc

Display topology change notification event debug messages.

timers

Display MSTP timers for start, stop, and expire event debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(9)EA1

This command was introduced.


Usage Guidelines

The undebug spanning-tree mstp command is the same as the no debug spanning-tree mstp command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.



debug spanning-tree switch

Use the debug spanning-tree switch privileged EXEC command to enable debugging of the software interface between the Spanning Tree Protocol (STP) software module and the port manager software module. Use the no form of this command to disable debugging.

debug spanning-tree switch {all | errors | general | helper | pm | rx {decode | errors | interrupt | process} | state | tx [decode]}

no debug spanning-tree switch {all | errors | general | helper | pm | rx {decode | errors | interrupt | process} | state | tx [decode]}

Syntax Description

all

Display all spanning-tree switch debug messages.

errors

Display debug messages for the interface between the spanning-tree software module and the port manager software module.

general

Display general event debug messages.

helper

Display spanning-tree helper-task debug messages. Helper tasks handle bulk spanning-tree updates.

pm

Display port-manager event debug messages.

rx

Display received bridge protocol data unit (BPDU) handling debug messages. The keywords have these meanings:

decode—Display decoded received packets.

errors—Display receive error debug messages.

interrupt—Display interrupt service request (ISR) debug messages.

process—Display process receive BPDU debug messages.

state

Display spanning-tree port state change debug messages.

tx [decode]

Display transmitted BPDU handling debug messages. The keyword has this meaning:

decode—(Optional) Display decoded transmitted packets.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.

12.1(9)EA1

The helper keyword was added.


Usage Guidelines

The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.


debug spanning-tree uplinkfast

Use the debug spanning-tree uplinkfast privileged EXEC command to enable debugging of spanning-tree UplinkFast events. Use the no form of this command to disable debugging.

debug spanning-tree uplinkfast [exceptions]

no debug spanning-tree uplinkfast [exceptions]

Syntax Description

exceptions

(Optional) Display spanning-tree UplinkFast-exception debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug spanning-tree uplinkfast command is the same as the no debug spanning-tree uplinkfast command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show spanning-tree

Displays spanning-tree state information.


debug switch dhcp

Use the debug switch dhcp privileged EXEC command to enable debugging of DHCP events. Use the no form of this command to disable debugging.

debug switch dhcp

no debug switch dhcp

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(19)EA1

This command was introduced.


Usage Guidelines

The undebug switch dhcp command is the same as the no debug switch dhcp command.

Related Commands

Command
Description

show ip dhcp snooping

Displays the DHCP snooping configuration.

show ip dhcp snooping binding

Displays the DHCP snooping binding information.


debug sw-vlan

Use the debug sw-vlan privileged EXEC command to enable debugging of VLAN manager activities. Use the no form of this command to disable debugging.

debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | notification | packets | registries | vtp}

no debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | notification | packets | registries | vtp}

Syntax Description

badpmcookies

Display VLAN manager incidents of bad port manager cookie debug messages.

cfg-vlan {bootup | cli}

Display config-vlan debug messages. The keywords have these meanings:

bootup—Display messages when the switch is booting up.

cli—Display messages when the command-line interface (CLI) is in config-vlan mode.

events

Display VLAN manager event debug messages.

ifs

See the debug sw-vlan ifs command.

management

Display VLAN manager management of internal VLAN debug messages.

notification

See the debug sw-vlan notification command.

packets

Display packet handling and encapsulation process debug messages.

registries

Display VLAN manager registry debug messages.

vtp

See the debug sw-vlan vtp command.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.

12.1(9)EA1

The cfg-vlan keyword was added.


Usage Guidelines

The undebug sw-vlan command is the same as the no debug sw-vlan command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show vlan

Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.

show vtp

Displays general information about VTP management domain, status, and counters.



debug sw-vlan ifs

Use the debug sw-vlan ifs privileged EXEC command to enable debugging of the VLAN manager Cisco IOS file system (IFS) error tests. Use the no form of this command to disable debugging.

debug sw-vlan ifs {open {read | write} | read {1 | 2 | 3 | 4} | write}

no debug sw-vlan ifs {open {read | write} | read {1 | 2 | 3 | 4} | write}

Syntax Description

open {read | write}

Display VLAN manager IFS file-open operation debug messages. The keywords have these meanings:

read—Display VLAN manager IFS file-read operation debug messages.

write—Display VLAN manager IFS file-write operation debug messages.

read {1 | 2 | 3 | 4}

Display file-read operation debug messages for the specified error test (1, 2, 3, or 4).

write

Display file-write operation debug messages.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

When selecting the file read operation, Operation 1 reads the file header, which contains the header verification word and the file version number. Operation 2 reads the main body of the file, which contains most of the domain and VLAN information. Operation 3 reads type length version (TLV) descriptor structures. Operation 4 reads TLV data.

The undebug sw-vlan ifs command is the same as the no debug sw-vlan ifs command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show vlan

Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.



debug sw-vlan notification

Use the debug sw-vlan notification privileged EXEC command to enable debugging of the activation and deactivation of Inter-Link Switch (ISL) VLAN IDs. Use the no form of this command to disable debugging.

debug sw-vlan notification {accfwdchange | allowedvlancfgchange | fwdchange | linkchange | modechange | pruningcfgchange | statechange}

no debug sw-vlan notification {accfwdchange | allowedvlancfgchange | fwdchange | linkchange | modechange | pruningcfgchange | statechange}

Syntax Description

accfwdchange

Display debug messages for VLAN manager notification of aggregated access interface spanning-tree forward changes.

allowedvlancfgchange

Display debug messages for VLAN manager notification of changes to the allowed VLAN configuration.

fwdchange

Display debug messages for VLAN manager notification of spanning-tree forwarding changes.

linkchange

Display debug messages for VLAN manager notification of interface link-state changes.

modechange

Display debug messages for VLAN manager notification of interface mode changes.

pruningcfgchange

Display debug messages for VLAN manager notification of changes to the pruning configuration.

statechange

Display debug messages for VLAN manager notification of interface state changes.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

The undebug sw-vlan notification command is the same as the no debug sw-vlan notification command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show vlan

Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.



debug sw-vlan vtp

Use the debug sw-vlan vtp privileged EXEC command to enable debugging of the VLAN Trunking Protocol (VTP) code. Use the no form of this command to disable debugging.

debug sw-vlan vtp {events | packets | pruning [packets | xmit] | xmit}

no debug sw-vlan vtp {events | packets | pruning [packets | xmit] | xmit}

Syntax Description

events

Display debug messages for general-purpose logic flow and detailed VTP messages generated by the VTP_LOG_RUNTIME macro in the VTP code.

packets

Display debug messages for the contents of all incoming VTP packets that have been passed into the VTP code from the Cisco IOS VTP platform-dependent layer, except for pruning packets.

pruning [packets | xmit]

Display debug messages generated by the pruning segment of the VTP code. The keywords have these meanings:

packets—(Optional) Display debug messages for the contents of all incoming VTP pruning packets that have been passed into the VTP code from the VTP platform-dependent layer.

xmit—(Optional) Display debug messages for the contents of all outgoing VTP packets that the VTP code requests the Cisco IOS VTP platform-dependent layer to send.

xmit

Display debug messages for the contents of all outgoing VTP packets that the VTP code requests the VTP platform-dependent layer to send, except for pruning packets.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

If no further parameters are entered after the pruning keyword, VTP pruning debugging messages appear. They are generated by the VTP_PRUNING_LOG_NOTICE, VTP_PRUNING_LOG_INFO, VTP_PRUNING_LOG_DEBUG, VTP_PRUNING_LOG_ALERT, and VTP_PRUNING_LOG_WARNING macros in the VTP pruning code.

The undebug sw-vlan vtp command is the same as the no debug sw-vlan vtp command.

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show vtp

Displays general information about VTP management domain, status, and counters.



debug udld

Use the debug udld privileged EXEC command to enable debugging of the UniDirectional Link Detection (UDLD) feature. Use the no form of this command to disable UDLD debugging.

debug udld {events | packets | registries}

no debug udld {events | packets | registries}

Syntax Description

events

Display debug messages for UDLD process events as they occur.

packets

Display debug messages for the UDLD process as it receives packets from the packet queue and tries to send them at the request of the UDLD protocol code.

registries

Display debug messages for the UDLD process as it processes registry calls from the UDLD process-dependent module and other feature modules.


Defaults

Debugging is disabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(6)EA2

This command was introduced.


Usage Guidelines

For debug udld events, these debugging messages appear:

General UDLD program logic flow

State machine state changes

Program actions for the set and clear ErrDisable state

Neighbor cache additions and deletions

Processing of configuration commands

Processing of link-up and link-down indications

For debug udld packets, these debugging messages appear:

General packet processing program flow on receipt of an incoming packet

Indications of the contents of the various pieces of packets received (such as type length versions [TLVs]) as they are examined by the packet reception code

Packet transmission attempts and the outcome

For debug udld registries, these categories of debugging messages appear:

Sub-block creation

Fiber-port status changes

State change indications from the port manager software

MAC address registry calls

Related Commands

Command
Description

show debugging

Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.

show udld

Displays UDLD administrative and operational status for all ports or the specified port.