VRRP Groups Configuration Example

Note

Note

This configuration example assumes that VRs are already created and configured with regular VRRP (Virtual Router Redundancy Protocol) parameters, but not yet enabled (enable vrrp {vlan [vlan_name | vlan_list] vrid [vridval | vrid_list} command is not yet executed). If VRs are already enabled, disable all the VRs (disable vrrp {vlan [vlan_name | vlan_list] vrid [vridval | vrid_list]}).
  1. Create VRRP group “groupA”:
    create VRRP group “groupA”
  2. Add primary VR before adding any secondary VRs to the group:
    configure VRRP group “groupA” add primary-vr vlan “vlan1” vrid 1
  3. Add secondary VRs one at a time:
    Configure vrrp group “groupA” add secondary-vr vlan “vlan2” vrid 2
    Configure vrrp group “groupA” add secondary-vr vlan “vlan3” vrid 3
    Configure vrrp group “groupA” add secondary-vr vlan “vlan4” vrid 4
    Configure vrrp group “groupA” add secondary-vr vlan “vlan5” vrid 5
    

    Or alternatively, VLAN (Virtual LAN) tag range and VRID range can be specified. In this case, vlan1 has vlan-id 101, vlan2 has vlan-id 102, etc.:

    Configure vrrp group “groupA” add secondary-vr vlan 102-105 vrid 2-5
  4. Configure fabric routing on all the member VRs in the given group:
    configure vrrp group "groupA" fabric-routing on
  5. Apply group configuration on member VRs. Before enabling the group, member VRs are operating in individual VR mode:
    enable vrrp group groupA
  6. Enable all VRs using the global command, if there is only one group:
    enable VRRP
    or enable only member VRs of this group:
    enable vrrp group groupA memebers