30.4.2 Checking the status of virtual links
Use the show spanning-tree command to check virtual link information. Check Port Information to confirm the existence of virtual link ports.
The following figure shows the result of executing the show spanning-tree command.
> show spanning-tree vlan 2 Date 20XX/11/04 11:39:43 UTC VLAN 2 PVST+ Spanning Tree:Enabled Mode:PVST+ Bridge ID Priority:4096 MAC Address:0012.e205.0900 Bridge Status:Designated Root Bridge ID Priority:0 MAC Address:0012.e201.0900 Root Cost:0 Root Port:1/0/2-3(VL:10) .. 1 Port Information 1/0/1 Up Status:Forwarding Role:Designated VL(10) Up Status:Forwarding Role:Root .. 1 > |
-
VL indicates a virtual link ID.
The show gsrp detail command can be used to check whether a virtual link is running. Check Virtual Link ID for the virtual link ID and virtual link VLAN.
>show gsrp detail Date 20XX/04/10 12:00:00 UTC GSRP ID: 3 Local MAC Address : 0012.e2a8.2527 Neighbor MAC Address : 0012.e2a8.2505 Total VLAN Group Counts : 3 GSRP VLAN ID : 105 Direct Port : 0/10-11 GSRP Exception Port : 0/1-5 No Neighbor To Master : manual Backup Lock : disable Port Up Delay : 0 Last Flush Receive Time : - Layer 3 Redundancy : On Virtual Link ID : 100(VLAN ID : 20) Local Neighbor Advertise Hold Time : 5 5 Advertise Hold Timer : 4 - Advertise Interval : 1 1 Selection Pattern : ports-priority-mac ports-priority-mac VLAN Group ID Local State Neighbor State 1 Backup Master 2 (disable) - 8 Master - > |