Configuration Guide Vol. 2


14.2.2 Checking GSRP Status

When you configure GSRP on the Switch, you can check the GSRP state at the following points.

<Structure of this section>

(1) Confirmation after configuration setting

Use the show gsrp command to check the GSRP configuration. You can check whether the GSRP configuration set with configuration commands is correct. You can also check whether the priority of the master and backup selection conditions (Selection Pattern), the Layer 3 redundancy switching settings, the VLAN group IDs, and the VLANs that belong to VLAN groups are the same on both Switches in a GSRP group. If Layer 3 redundancy switching is configured, you can check whether the IP addresses assigned to the VLANs belonging to VLAN groups are the same on both GSRP switches. For details on checking IP address, see ConfigurationGuide: Checking Vol.1" "24.11.2 VLAN status, ConfigurationGuide: Checking up/down of Vol.3" "2.2.2 IPv4 Interfaces, or ConfigurationGuide: Checking up/down of Vol.3" "19.2.2 IPv6 Interfaces. Note that, in the backup state, the interfaces are down for the VLANs that belong to VLAN groups.

The following figures show example results of executing the show gsrp detail command and the show gsrp vlan-group command.

Figure 14-1: Result of executing show gsrp detail command
> show gsrp detail
Date 20XX/11/07 22:24:36 UTC
 
GSRP ID: 1
 Local MAC Address       : 0012.e205.0000
 Neighbor MAC Address    : 0012.e205.0011
 Total VLAN Group Counts : 2
 GSRP VLAN ID            : 105
 Direct Port             : 0/10-11
 Limit Control           : Off
 GSRP Exception Port     : 0/1-5
 No Neighbor To Master   : manual
 Backup Lock             : disable
 Port Up Delay           : 0
 Last Flush Receive Time : -
 Forced Shift Time       : -
 Layer 3 Redundancy      : On
 Virtual MAC Learning    : Interval 120  (Output rate 30pps)
 VLAN Port Counts        : Configuration    15,  Capacity 3600
 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
 8                  Master              Backup
>
Figure 14-2: Result of executing show gsrp vlan-group command
> show gsrp 1 vlan-group 1
Date 20XX/11/07 22:25:13 UTC
 
GSRP ID: 1
 Local MAC Address       : 0012.e205.0000
 Neighbor MAC Address    : 0012.e205.0011
 Total VLAN Group Counts : 1
 Layer 3 Redundancy      : On
 Virtual MAC Learning    : Interval 120  (Output rate 30pps)
 VLAN Port Counts        : Configuration    15,  Capacity 3600
 
 VLAN Group ID : 1
  VLAN ID                 : 110,200-210
  Member Port             : 0/6-8
  Last Transition         : 20XX/11/07 22:20:11  (Master to Backup)
  Transition by reason    : Priority was lower than neighbor's
  Master to Backup Counts : 4
  Backup to Master Counts : 4
  Virtual MAC Address     : 0000.8758.1307
 
                            Local               Neighbor
  State                   : Backup              Master
  Acknowledged State      : Backup              -
  Advertise Hold Timer    : 3                   -
  Priority                : 100                 101
  Active Ports            : 3                   3
  Up Ports                : 3                   -
>

(2) Confirmation during operation

A pair of Switches forms a GSRP group.You can check whether either switch is the master for a VLAN group.You can also check whether each VLAN group has only one master. By using the show gsrp command, you can check with which VLAN group each of the paired Switches is associated.

Figure 14-3: Example of show gsrp command-execution
> show gsrp
Date 20XX/11/07 22:28:38 UTC
 
GSRP ID: 10
 Local MAC Address       : 0012.e205.0000
 Neighbor MAC Address    : 0012.e205.0011
 Total VLAN Group Counts : 2
 Layer 3 Redundancy      : On
 Virtual MAC Learning    : Interval 120  (Output rate 30pps)
 VLAN Port Counts        : Configuration    15,  Capacity 3600
 
 VLAN Group ID      Local State         Neighbor State
 1                  Backup              Master
 8                  Master              Backup
>