Displaying the Root Guard by VLAN

You can display root guard information for all VLANs or for a specific VLAN. For example, to display root guard violation information for VLAN 7.

If you do not specify a vlan-id , information for all VLANs is displayed.

To display root guard violation information for VLAN 7.

device# show spanning-tree vlan 7
STP instance owned by VLAN 7
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge 
ID ID Cost Port rity Age llo ld dly Chang cnt Address 
Hex sec sec sec sec sec 
7 a000000011112220 0 Root a000 20 2 1 15 4 4 000011112220
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated 
Num rity Cost Trans Cost Root Bridge 
Hex 
1 80 19 ROOT-INCONS 2 0 a000000011112220 a000000011112220