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

CLI-based Configuration Guide - Reliability

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides guidance for configuring reliability services, including interface backup, BFD, VRRP, and EFM.
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).
Configuring a VRRP group

Configuring a VRRP group

Pre-configuration Tasks

VRRP virtualizes multiple devices into one gateway without changing the networking, and uses the virtual gateway'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. When the master fails, a new master is selected among 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 multi-gateway load balancing mode.

The device with a higher priority in a VRRP group is more likely to become the master. You can specify the master to forward traffic by setting the device priority.

Procedure

  1. Create a VRRP group.
    • 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.

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

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

  2. Set the device priority in a VRRP group.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run vrrp vrid virtual-router-id priority priority-value

      The device priority in a VRRP group is set.

      By default, the device priority is 100. A larger value indicates a higher priority of VRRP Advertisement packets.

      • Priority 0 is reserved in the system. Priority 255 is reserved for the IP address owner. The priority ranges from 1 to 254.

      • The priority of an IP address owner is fixed at 255 and cannot be manually changed. You can run the vrrp vrid virtual-router-id priority priority-value command to configure a non-255 priority for an IP address owner, but the configured priority does not take effect. If a VRRP device is no longer an IP address owner, the configured priority is used.

      • When devices in a VRRP group have the same priority and attempt to be the master simultaneously, the device on an interface with the largest IP address is the master. The device that first switches to the Master state becomes the master, and other backups remain unchanged.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069338

Views: 13899

Downloads: 40

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