Configuration Guide Vol. 2


14.1.3 Settings related to selection of master and backup

<Structure of this section>

(1) Setting the method for selecting master and backup

Points to note

Configure the priority of the conditions for selecting the master and backup GSRP switches (number of active ports, priority, and switch MAC address). Select either of the following sets of priority: Number of active ports -> priority -> switch MAC address or priority -> number of active ports -> switch MAC address.

We recommend that you use number of active ports as the top-priority condition in normal operations. If the number of VLAN ports changes or links need to be taken down when you change the network configuration, you might want to use priority as the top-priority condition. By using priority as the top-priority condition, you can change the network configuration without switching over the master and backup switches.

Command examples

  1. (config)# gsrp 1

    Switches to GSRP configuration mode.

  2. (config-gsrp)# selection-pattern priority-ports-mac

    Sets priority -> number of active ports -> switch MAC address as the order of priority of conditions.

(2) Setting Priorities for VLAN Groups

Points to note

Assign a priority to each VLAN group. The larger the value, the higher the priority. The priority is used to determine the master switch when both switches have the same number of active ports.

You can perform load balancing at the VLAN group level by creating multiple VLAN groups and assigning a different priority to each VLAN group.

Command examples

  1. (config)# gsrp 1

    Switches to GSRP configuration mode.

  2. (config-gsrp)# vlan-group 1 priority 80

    Sets 80 as the priority of VLAN group 1.

(3) Setting of backup fixation function

Points to note

Backup locking forcibly places all the VLAN groups of one GSRP switch in the backup state. You might want to use backup locking when you perform a large-scale configuration change that requires the changing of cables or restarting of a GSRP switch. By using backup locking, you can make one GSRP switch as the master for all VLAN groups while you perform a configuration change involving the other GSRP switch.

Command examples

  1. (config)# gsrp 1

    Switches to GSRP configuration mode.

  2. (config-gsrp)# backup-lock

    Enables backup locking. All VLAN groups of the target GSRP switch enter the backup state, and the neighbor GSRP switch becomes the master.