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 12800 and 12800E V200R002C50

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).
(Optional) Configuring VRRP Time Parameters

(Optional) Configuring VRRP Time Parameters

Context

You can set VRRP time parameters as needed. Table 3-7 lists application scenarios of VRRP time parameters.

Table 3-7 Application scenarios of VRRP time parameters
Parameter Application Scenario
Interval at which VRRP Advertisement packets are sent The master in a VRRP group sends VRRP Advertisement packets to backups at intervals to notify that it is working properly. After the Master_Down_Interval timer expires, a new master is selected from the backups if the backups do not receive VRRP Advertisement packets.

Heavy network traffic or time differences on different devices may result in the backup status change due to timeout of VRRP Advertisement packets. When packets from the original master reach the new master, the status of the new master changes. You can increase the interval to solve this problem.

Preemption delay On an unstable network, if the BFD session status monitored by a VRRP group flaps frequently or the backups cannot receive VRRP Advertisement packets within a specified period, an active/standby switchover is frequently performed, which causes network flapping. You can adjust the preemption delay in the VRRP group so that the backup with the highest priority assumes the master role after the delay. This prevents frequent change of the VRRP group status.
Interval at which gratuitous ARP packets are sent by the master To ensure that MAC address entries on the downstream switch are correct, the master in a VRRP group periodically sends gratuitous ARP packets to update MAC address entries on the downstream switch.
Delay before a VRRP group recovers On an unstable network, frequent flapping of the BFD session status or interface status monitored by a VRRP group may result in frequent switching of the VRRP group status. After the delay is set, the VRRP group does not immediately respond to an interface or BFD session Up event. Instead, the VRRP group processes this event after the delay. This prevents frequent switching of the VRRP group status.
Multiplier of the VRRP Advertisement packet sending interval to determine the timeout period of a backup in a VRRP group You can set the timeout period of a backup in a VRRP group to a multiple of the interval at which VRRP Advertisement packets are sent. By default, the timeout period is three times the interval at which VRRP Advertisement packets are sent.

Procedure

  • Set the interval at which VRRP Advertisement packets are sent.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    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 timer advertise advertise-interval

      By default, the interval is 1 second.

      NOTE:

      The interval at which a device sends VRRP Advertisement packets cannot be less than the time that the device takes to perform an active/standby MPU switchover. If the interval is less than the switchover time, protocol flapping may occur during an active/standby MPU switchover. It is recommended that the interval be set to a value greater than 1s.

    5. Run commit

      The configuration is committed.

  • Set the preemption delay of the master.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    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 preempt timer delay delay-value

      The preemption delay is set.

      The default preemption delay is 5 seconds for a preemption caused by an interface Up event or 0 seconds (indicating immediate preemption) for a preemption caused by other reasons.

      You can use the vrrp vrid virtual-router-id preempt disable command to set the non-preemption mode. In non-preemption mode, the master that works properly retains the Master state. This state cannot be preempted even if other switches have a higher priority than that of the master.

      You can use the undo vrrp vrid virtual-router-id preempt command to restore the default preemption mode.

      NOTE:

      It is recommended that you set the preemption delay of the backup in a VRRP group to 0, configure the master in preemption mode, and set the preemption delay. On an unstable network, these settings allow a period of time for status synchronization between the uplink and downlink. If the preceding settings are not used, two masters coexist and user devices may learn the incorrect address of the master.

    5. Run commit

      The configuration is committed.

  • Set the interval at which gratuitous ARP packets are sent by the master.
    1. Run system-view

      The system view is displayed.

    2. Run vrrp gratuitous-arp interval interval-value

      The interval at which gratuitous ARP packets are sent by the master is set.

      By default, the master sends gratuitous ARP packets every 120s.

      NOTE:

      The interval at which the master sends gratuitous ARP packets must be shorter than the aging time of ARP entries on user devices.

      • To restore the default interval at which gratuitous ARP packets are sent, run the undo vrrp gratuitous-arp interval command in the system view.

      • If the master does not need to send gratuitous ARP packets, run the vrrp gratuitous-arp interval disable command in the system view.

    3. Run commit

      The configuration is committed.

  • Set the delay before a VRRP group recovers.
    1. Run system-view

      The system view is displayed.

    2. Run vrrp recover-delay delay-value

      The delay before a VRRP group recovers is set.

      By default, the delay before a VRRP group recovers is 0.

      NOTE:
      • After this command is used, all VRRP groups on the device are configured with the same delay.

      • When the device in a VRRP group restarts, VRRP status flapping may occur. It is recommended that the delay be set based on actual networking.

    3. Run commit

      The configuration is committed.

  • Set the multiplier of the VRRP Advertisement packet sending interval to determine the timeout period of a backup 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 holding-multiplier holding-multiplier-value

      A multiplier of the VRRP Advertisement packet sending interval is set to determine the timeout period of a backup in a VRRP group.

      By default, the timeout period of a backup device in a VRRP group is three times the VRRP Advertisement packet sending interval.

    4. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166606

Views: 101810

Downloads: 85

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