< Home

Creating a VRRP6 Group

Context

VRRP6 virtualizes multiple devices into one 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 VRRP6 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 ensures device-level reliability.

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

Procedure

  1. Create a VRRP6 group working in redundancy mode.
    1. Run system-view

      The system view is displayed.

    2. Run ipv6

      The IPv6 function is enabled.

      By default, a device is disabled from forwarding IPv6 unicast packets.

    3. Run interface interface-type interface-number

      The interface view is displayed.

    4. (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.

    5. Run ipv6 enable

      IPv6 is enabled on the interface.

      By default, the IPv6 function is disabled on an interface.

    6. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

      An IPv6 address is configured for the interface.

    7. Run vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address [ link-local ]

      A VRRP6 group is created, and a virtual IPv6 address is assigned to the VRRP6 group.

      By default, no VRRP6 group is created.

      The first virtual IPv6 address of a VRRP6 group must be a link-local address.

  2. Create VRRP6 groups working in multi-gateway load sharing mode.

    If VRRP6 groups need to work in multi-gateway load sharing mode, repeat the preceding step to configure two or more VRRP6 groups on the interface and assign different VRIDs to them.

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