debug sw-vlan vtp
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.
Syntax Description
events
packets
pruning [packets | xmit]
redundancy
xmit
Defaults
Debugging is disabled.
Command Modes
Privileged EXEC
Command History
Release
12.2(25)FX
Usage Guidelines
The undebug sw-vlan vtp command is the same as the no debug sw-vlan vtp command.
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.
Catalyst 2960 Switch Command Reference
B-72
debug sw-vlan vtp {events | packets | pruning [packets | xmit] | redundancy | xmit}
no debug sw-vlan vtp {events | packets | pruning | redundancy | xmit}
Display debug messages for general-purpose logic flow and detailed VTP
messages generated by the VTP_LOG_RUNTIME macro in the VTP
code.
Display debug messages for the contents of all incoming VTP packets
that have been passed into the VTP code from the IOS VTP
platform-dependent layer, except for pruning packets.
Display debug messages generated by the pruning segment of the VTP
code. The keywords have these meanings:
Display debug messages for VTP redundancy.
Display debug messages for the contents of all outgoing VTP packets that
the VTP code requests the IOS VTP platform-dependent layer to send,
except for pruning packets.
Modification
This command was introduced.
•
packets—(Optional) Display debug messages for the contents of all
incoming VTP pruning packets that have been passed into the VTP
code from the IOS VTP platform-dependent layer.
xmit—(Optional) Display debug messages for the contents of all
•
outgoing VTP packets that the VTP code requests the IOS VTP
platform-dependent layer to send.
Appendix B
Catalyst 2960 Switch Debug Commands
OL-8604-04