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, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

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 VRRP6 Association

Configuring VRRP6 Association

Pre-configuration Tasks

VRRP6 association enables VRRP6 to detect faults in a timely manner and triggers an active/standby switchover when the master or the uplink of the master becomes faulty. VRRP6 association optimizes VRRP6 switchover and enhances network reliability.

Before configuring VRRP6 association, complete the task of Configuring Basic Functions of an IPv6 VRRP Group.

Configuring Association Between VRRP6 and the Interface Status to Implement an Active/Standby Switchover

Context

When the uplink interface of the master becomes faulty, VRRP6 cannot detect the status change of interfaces not in the VRRP6 group, causing service interruption. You can associate a VRRP6 group with the interface status. When the monitored interface is faulty, the priority of the master is reduced. This triggers an active/standby switchover and reduces the impact of the uplink interface fault on service forwarding.

When the fault is rectified, the original master restores its priority and switches to the master to forward traffic.

NOTE:

The master and backup in the VRRP6 group must work in preemption mode. It is recommended that the preemption delay be 0 on the backup and non-0 on the master.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface on the master where a VRRP6 group is configured is displayed.

  3. Run vrrp6 vrid virtual-router-id track interface interface-type interface-number [ increased value-increased | reduced value-reduced ]

    Association between VRRP6 and the interface status is configured.

    By default, when the monitored interface goes Down, the VRRP6 priority of the device decreases by 10.

    NOTE:

    If the IPv4 protocol status on the monitored interface configured with an IPv4 address changes, the priority of the master is reduced. If the IPv6 protocol status on the monitored interface configured with an IPv6 address changes, the VRRP6 group remains unchanged.

  4. Run vrrp6 vrid virtual-router-id track interface interface-type interface-number ipv6–state [ increased value-increased | reduced value-reduced ]

    The VRRP6 backup group is configured to track the IPv6 state of the interface.

    By default, a VRRP6 backup group does not track the IPv6 state of a VRRP6-disabled interface.

    NOTE:

    If the IPv6 protocol status on the monitored interface configured with an IPv6 address changes, the priority of the master is reduced. If the IPv4 protocol status on the monitored interface configured with an IPv4 address changes, the VRRP6 group remains unchanged.

Associating VRRP6 with a Route to Implement a Rapid Master/Backup VRRP6 Switchover

A VRRP6 backup group can track an uplink route connected to a network. If the tracked route is withdrawn or becomes inactive, the VRRP6 backup group is notified of the change and rapidly performs a master/backup VRRP6 switchover.

Context

To improve device reliability, two user gateways working in master/backup mode are connected to a network, and VRRP6 is enabled on these gateways to determine their master and backup states. Although a VRRP6 backup group has been configured, if an uplink route to a network becomes unreachable, access-side users still use the VRRP6 backup group to forwards service data along the uplink route, causing service data loss.

Association between the VRRP6 backup group and route can prevent service data loss. The VRRP6 backup group can be configured to track the uplink route to the network. If the route is withdrawn or becomes inactive, the route management (RM) module notifies the VRRP6 backup group of the change. After receiving the notification, the VRRP6 backup group changes its master device's VRRP6 priority, and performs a master/backup switchover.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface where the VRRP6 backup group is configured is displayed.

  3. Run vrrp6 vrid virtual-router-id track ipv6 route ipv6-address prefix-length [ vpn-instance vpn-instance-name ] [ reduced value-reduced ]

    The VRRP6 backup group is configured to track the route.

    By default, a VRRP6 backup group tracks no route.

Associating a VRRP IPv6 Backup Group with a BFD Session

A VRRP IPv6 backup group can be configured to track BFD sessions. If one of the BFD sessions changes its status, the BFD module notifies the VRRP IPv6 backup group of the change. After receiving the notification, the VRRP IPv6 backup group rapidly performs a master/backup VRRP switchover.

Context

If a link between devices in a VRRP IPv4 backup group fails, VRRP IPv4 Advertisement packets cannot be sent to negotiate states. Backup devices will attempt to preempt the Master state after a period three times the interval at which VRRP IPv4 Advertisement packets are broadcast. During this period of time, service data is lost. To prevent this problem, the VRRP IPv4 backup group can be associated with BFD sessions. The BFD sessions are established between the master and backup devices to rapidly detect faults. If a fault occurs, the BFD module rapidly notifies the VRRP IPv4 backup group of the fault and triggers a master/backup VRRP switchover. Association with a common BFD session: The association allows a master/backup VRRP switchover to be performed after VRRP priorities change.
NOTE:
When configuring a VRRP IPv4 backup group to track a BFD session, use either of the following parameters as needed:
  • session-name bfd-configure-name: allows only a static BFD session with automatically negotiated discriminators to be bound to the VRRP IPv4 backup group.

  • session-id: allows only a static BFD session to be bound to the VRRP IPv4 backup group.

VRRP6 means VRRP applications on IPv6 networks.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [subinterface-number ]

    The view of the interface where the VRRP IPv6 backup group is configured is displayed.

  3. Run vrrp6 vrid virtual-router-id track bfd-session { session-id | session-name bfd-configure-name } [ increased value-increased | reduced value-reduced ]

    The VRRP IPv6 backup group is configured to track a common BFD session. During the configuration, use either of the following parameters as needed:
    • increased value-increased: specifies the value by which the VRRP priority increases if the tracked BFD session becomes Failed. The value is an integer ranging from 1 to 255. Only the IP address owner has priority value 255. The greatest priority value that can be set is 254.

    • reduced value-reduced: specifies the value by which the VRRP priority reduces if the tracked BFD session becomes Failed. The value is an integer ranging from 1 to 255. The smallest priority value can be set to 1. Priority value 0 is reserved for special use. If a backup device receives a VRRP IPv6 Advertisement packet carrying the priority value of 0, the backup device immediately preempts the Master state.

    A changed VRRP priority of a backup device must be higher than that of the master device, allowing a rapid master/backup VRRP switchover.

    A VRRP IPv6 backup group can track a maximum of eight BFD sessions and interfaces.
    • If all devices in a VRRP IPv6 backup group increase their priority values each time a tracked BFD session or interface goes Down, the increased VRRP priority value of a backup device will become the highest after all the tracked BFD sessions or interfaces go Down. This change will trigger a master/backup VRRP switchover.

    • If some devices in a VRRP IPv6 backup group increase their priority values each time a tracked BFD session or interface goes Down, a master/backup VRRP switchover can be triggered after the VRRP priority value of a backup device becomes the highest. After the switchover is complete, another priority increase will not trigger a VRRP switchover or affect the link status.

  4. Run quit

    Return to the system view.

  5. Run bfd

    The BFD view is displayed.

  6. Run bfd session nonexistent-config-check enable

    The device is enabled to check whether an associated BFD session is deleted.

    By default, the device is enabled to check whether the associated BFD session is deleted.

    To check whether an associated BFD session is deleted, run the bfd session nonexistent-config-check enable command. After a VRRP backup group is associated with a BFD session, deleting the BFD session causes the association to become invalid. After a device is enabled to check whether an associated BFD session is deleted, the device checks whether the BFD session is associated when deleting a BFD session.

Checking the Configuration

Procedure

  • Run the display vrrp6 [ interface interface-type interface-number ] [ vrid virtual-router-id ] [ brief ] command to check the VRRP6 group status and parameters.
  • Run the display vrrp6 [ interface interface-type interface-number ] [ vrid virtual-router-id ] statistics command to check statistics about sent and received packets of the VRRP6 group.
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 56600

Downloads: 105

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