No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Reliability

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM Configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Creating a VRRP Group

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 balancing is required in addition to gateway backup, configure two or more VRRP groups on an interface in single-gateway load balancing mode or multi-gateway load balancing 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.

      NOTE:

      It is recommended that VRRP be deployed on the VLANIF interface.

    3. 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.

      The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

      NOTE:

      If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

    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.

    5. Run commit

      The configuration is committed.

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

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

  • Create VRRP groups working in single-gateway load balancing mode.

    In load balancing scenarios, you must run the arp fast-reply disable command to disable the ARP fast reply function.

    NOTE:

    The device supports single-gateway load balancing for common VRRP groups, including those that have been bound to an mVRRP group.

    1. Run system-view

      The system view is displayed.

    2. (Optional) Run vrrp member-lbrg timer hello hello-time

      The interval at which the master device in the load-balance redundancy group (LBRG) configured using a service VRRP group sends VRRP Advertisement packets is set.

      The default interval is 120s.

      To ensure that the MAC entries on a downstream switch can be promptly updated, you can configure the interval at which the master device in an LBRG configured using a service VRRP group sends VRRP Advertisement packets to meet requirements for network reliability.

    3. Run interface interface-type interface-number

      The interface view is displayed.

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

      The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

      NOTE:

      If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

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

      A VRRP group is created.

      • If you use the VRRP group as an LBRG, you must assign a virtual IP address to the VRRP group.
      • If you use the VRRP group as an LBRG member group, you do not need to assign a virtual IP address to the VRRP group.
    6. Run vrrp vrid virtual-router-id priority priority-value

      A VRRP priority is set for the device.

    7. Run vrrp vrid virtual-router-id load-balance

      An LBRG is created.

    8. Run vrrp vrid virtual-router-id join load-balance-vrrp vrid lb-vrid-value

      A VRRP group is added to the LBRG.

    9. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075366

Views: 15193

Downloads: 39

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next