< Home

Creating a VRRP Group

Context

VRRP virtualizes multiple devices into a virtual router without changing the networking, and uses the virtual router's IP address as the default gateway address to implement next-hop gateway backup. After a VRRP group is configured, traffic is forwarded through the master. If the master fails, a new master is selected from the backups to forward traffic. This implements gateway backup.

If load sharing is required in addition to gateway backup, configure two or more VRRP groups on an interface in multi-gateway load sharing mode.

Procedure

  • Create a VRRP group working in active/standby mode.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number
      The interface view is displayed.
      You are advised not to configure a VRRP group on the VLANIF interface corresponding to a super-VLAN. If VRRP groups are configured on the VLANIF interface corresponding to a super-VLAN, the maximum number of VLANs including common VLANs, super-VLANs, and sub-VLANs is as follows:
      • S5720-EI, S6720-EI, and S6720S-EI: 500

      • S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720S-SI, and S6720-SI: 312

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    4. Run vrrp vrid virtual-router-id virtual-ip virtual-address

      A VRRP group is created, and a virtual IP address is assigned to the VRRP group.

      By default, no VRRP group is created.

      • If many VRRP groups are configured, increase the CPCAR of VRRP Advertisement packets. Improper CPCAR settings will affect services on your network. If you need to adjust CPCAR settings, contact technical support personnel for help.

        You can also configure an mVRRP group and bind VRRP groups to the mVRRP group to reduce CPU and bandwidth resources consumed by protocol packets.

  • Create VRRP groups working in multi-gateway load sharing mode.

    If VRRP groups need to work in multi-gateway load sharing mode, repeat the steps to configure multiple VRRP groups on the interface and assign different VRIDs to them.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >