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

Configuring VRRP Association

Pre-configuration Tasks

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

Before configuring VRRP association, complete the following task:

You can configure VRRP association only after basic VRRP functions are configured.

Configuring Association Between VRRP and BFD to Implement a Rapid Active/Standby Switchover

Context

When a VRRP group is faulty, the backup with the highest priority detects the fault and switches to the master after the Master_Down_Interval timer expires. The switchover period is at least 3s. During the switchover period, service traffic is still sent to the original master, causing user traffic loss. As shown in Figure 7-9, the VRRP group is associated with a BFD session on the backup so that the BFD session can rapidly detect communication faults of the VRRP group. When the BFD session detects a fault, it notifies the VRRP group that the priority of the backup needs to be increased. Then an active/standby switchover is triggered immediately. This millisecond-level switchover reduces traffic loss.

When the fault is rectified, the priority of the backup is restored and the original master switches to the master again to forward traffic.

NOTE:
  • A VRRP group can be associated with only a static BFD session or a static BFD session with automatically negotiated discriminators.

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

  • Multiple VRRP groups can monitor a BFD session, and a VRRP group can monitor a maximum of eight BFD sessions simultaneously.

Figure 7-9  Association between VRRP and BFD to implement a rapid active/standby switchover

Procedure

  1. Configure a static BFD session or a static BFD session with automatically negotiated discriminators. For details, see Configuring Single-Hop BFD, Configuring Multi-Hop BFD, and Configuring Static BFD with Automatically Negotiated Discriminators.
  2. Run system-view

    The system view is displayed.

  3. Run interface interface-type interface-number

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

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

    Association between VRRP and BFD is configured.

    By default, a VRRP group is not associated with a BFD session.

    NOTE:
    When associating a VRRP group with a BFD session, note the following points:
    • If session-name bfd-configure-name is specified, the VRRP group can be bound to only the static BFD session with automatically negotiated discriminators.

    • If bfd-session-id is specified, the VRRP group can be bound to only the static BFD session.

    • After the value by which the priority increases is set, ensure that the priority of the backup is higher than the priority of the master.

    • When a BFD session is associated with VRRP or static route, the system does not allow the associated BFD session to be deleted by default. To delete the associated BFD session, run the bfd session nonexistent-config-check disable command to disable the device from checking whether the associated BFD session is deleted.

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

Context

When the uplink interface of the master becomes faulty, VRRP cannot detect the status change of interfaces not in the VRRP group, causing service interruption. You can associate a VRRP 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 VRRP 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 VRRP group is configured is displayed.

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

    Association between VRRP and the interface status is configured.

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

    NOTE:
    • After the value by which the priority decreases is set, ensure that the priority of the backup is higher than the priority of the master.

Configuring Association Between VRRP and BFD to Monitor the Uplink Status

Context

Because VRRP cannot detect faults on the uplink of a VRRP group, services may be interrupted. As shown in Figure 7-10, a VRRP group is associated with a BFD session on the master so that the BFD session monitors the uplink status of the master. When the BFD session detects a fault on the uplink, it notifies the VRRP group that the priority of the master needs to be decreased. Then an active/standby switchover is triggered immediately. This reduces the impact of the uplink fault on service forwarding.

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

BFD implements millisecond-level detection. Association between VRRP and BFD provides a rapid active/standby switchover.

NOTE:
  • A VRRP group can be associated with only a static BFD session or a static BFD session with automatically negotiated discriminators.

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

  • Multiple VRRP groups can monitor a BFD session, and a VRRP group can monitor a maximum of eight BFD sessions simultaneously.

Figure 7-10  Association between VRRP and BFD

Procedure

  1. Configure a static BFD session or a static BFD session with automatically negotiated discriminators. For details, see Configuring Single-Hop BFD, Configuring Multi-Hop BFD, and Configuring Static BFD with Automatically Negotiated Discriminators.
  2. Run system-view

    The system view is displayed.

  3. Run interface interface-type interface-number

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

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

    Association between VRRP and BFD is configured.

    By default, when the monitored BFD session becomes Down, the VRRP priority decreases by 10.

    NOTE:
    When associating a VRRP group with a BFD session, note the following points:
    • If session-name bfd-configure-name is specified, the VRRP group can be bound to only the static BFD session with automatically negotiated discriminators.

    • If bfd-session-id is specified, the VRRP group can be bound to only the static BFD session.

    • After a VRRP group is associated with a BFD session, the BFD session type cannot be modified. Before deleting the BFD session type, you must delete all original configurations.

    • After the value by which the priority decreases is set, ensure that the priority of the backup is higher than the priority of the master.

Configuring Association Between VRRP and NQA to Monitor the Uplink Status

Context

Because VRRP cannot detect faults on the uplink of a VRRP group, services may be interrupted. You can associate a VRRP group with an NQA test instance on the master so that the NQA test instance monitors the uplink status of the master. When the NQA test instance detects a fault on the uplink, it notifies the VRRP group that the priority of the master needs to be decreased. Then an active/standby switchover is triggered immediately. This reduces the impact of the uplink fault on service forwarding.

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

NQA technology collects statistics on the delay, jitter, and packet loss ratio. You can configure the percentage of failed NQA test instances and NQA association to trigger an active/standby switchover when the uplink is unstable.

NOTE:
  • A VRRP group can only be associated with an NQA ICMP test instance.

  • The master and backup in the VRRP 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. Create an NQA ICMP test instance. For details, see Configuring an ICMP Test Instance.
  2. Run system-view

    The system view is displayed.

  3. Run interface interface-type interface-number

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

  4. Run vrrp vrid virtual-router-id track nqa admin-name test-name [ reduced value-reduced ]

    Association between VRRP and NQA is configured.

    By default, when the associated NQA test instance becomes failed, the priority of the device decreases by 10.

    NOTE:

    When setting the value by which the priority decreases, ensure that the priority of the backup is higher than the priority of the master to trigger an active/standby over.

Configuring Association Between VRRP and Routing to Monitor the Uplink Status

Context

Because VRRP cannot detect faults on the uplink of a VRRP group, services may be interrupted. The VRRP group monitors the number of routes on the uplink forwarding path. When the route is withdrawn or becomes inactive, the master' priority is adjusted and an active/standby switchover is performed. This reduces the link fault on service forwarding.

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

During route association, the link switchover depends on convergence of a routing protocol associated with the VRRP group.

NOTE:
  • When a VRRP group is associated with a static route, the device can detect only faults on the direct uplink.

  • The master and backup in the VRRP 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 VRRP group is configured is displayed.

  3. Run vrrp vrid virtual-router-id track ip route ip-address { mask-address | mask-length } [ vpn-instance vpn-instance-name ] [ reduced value-reduced ]

    Association between a route and a VRRP group is configured.

    By default, the master' priority decreases by 10 if the associated route is withdrawn or becomes inactive.

    When setting the value by which the priority decreases, ensure that the priority of the backup is higher than the priority of the master.

Checking the Configuration

Procedure

  • Run either of the following commands to check the VRRP group status and parameters:

    • display vrrp [ interface interface-type interface-number ] [ virtual-router-id ] [ brief ]
    • display vrrp { interface interface-type interface-number [ virtual-router-id ] | virtual-router-id } verbose

  • Run the display vrrp protocol-information command to check VRRP information.
  • Run the display vrrp [ interface interface-type interface-number ] [ virtual-router-id ] statistics command to check statistics about sent and received packets of the VRRP group.
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069338

Views: 14166

Downloads: 42

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