Using RPVST+ debug
While the Event Log records switch-level progress, status, and warning messages on the switch, the Debug/System Logging (Syslog) feature provides a way to record Event Log and debug messages on a remote device. For example, you can send messages about routing misconfigurations and other network protocol details to an external device, and later use them to debug network-level problems. The Debug/Syslog feature allows you to specify the types of Event Log and debug messages that you want to send to an external device. The two commands described next affect debug operation for RPVST+. For further information on debug operation, see the ArubaOS-Switch Management and Configuration Guide for your switch.
Syntax:
spanning-tree clear-debug-counters [ports port-list] [vlan vid-list]
Clears all spanning tree debug counters unless specific ports and VLANs are specified.
ports port-list
-
Clears spanning tree debug counters on the specified ports.
[ethernet]port-list
-
Clears spanning tree debug counters on an entered list of posts or
all
for theports
command parameter. vlan
-
Clears spanning tree debug counters for the VLAN.
vlan vlan-id-list
-
One or more identifiers for the
VLAN
command parameter.
Using the
vlan
and
ports
options together clears the spanning tree debug counters on the specified ports for the specified VLANs. Counters maintained on the same ports for other VLANs are not cleared.
Syntax:
debug rpvst [event [filter vlan vid-list]]
no debug rpvst [event [filter vlan vid-list]]
debug rpvst [packet [filter port port-list [vlan vid-list]]]
no debug rpvst [packet [filter port port-list [vlan vid-list]]]
Displays RPVST+ debug messages on the destination device specified with the
debug destination logging | session | buffer
command.
event
-
Displays RPVST+ Event Log messages.
filter vlan vid-list
-
Limits log messages to those generated on the specified VLANs.
packet
-
Displays RPVST+ packets sent and received.
filter port port-list
vlan vid-list
-
Limits packets displayed to those generated on the specified ports. If the
vlan
option is used, then packets displayed are further limited to the ports on the specified VLANs.
The
no
form of the command disables display of RPVST+ debug messages on the destination device.