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.1(19)EA1
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 3560 Switch Command Reference
B-90
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 3560 Switch Debug Commands
78-16405-05