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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
vrrp vrid preempt-mode timer delay

vrrp vrid preempt-mode timer delay

Function

The vrrp vrid preempt-mode timer delay command sets the preemption delay for the device in a VRRP group.

The undo vrrp vrid preempt-mode timer delay command restores the default preemption delay for the device in a VRRP group.

By default, the preemption delay is 0 seconds.

Format

vrrp vrid virtual-router-id preempt-mode timer delay delay-value

undo vrrp vrid virtual-router-id preempt-mode timer delay

Parameters

Parameter Description Value
vrid virtual-router-id Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 255.
delay delay-value Specifies the preemption delay. The value is an integer that ranges from 0 to 3600, in seconds. The default value is 0.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the backup in a VRRP group does not receive VRRP packets from the master within a specified period of time, the backup becomes the master. On an unstable network, even if the master is working properly, the backup may not receive packets from the master because of network congestion. In this case, the VRRP group status may flap and traffic is lost. To prevent frequent switching of the VRRP group status, run the vrrp vrid preempt-mode timer delay command to set the preemption delay so that the backup becomes the master after the delay.

Precautions

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 to be longer than 1800s. These settings allow a period of time for status synchronization between the uplink and downlink on devices in a VRRP group on an unstable network. If the preceding settings are not used, two masters coexist and users devices may learn incorrect address of the master. As a result, traffic is interrupted.

  • The preemption delay refers to the time spent when the backup switches to the master. Therefore, the IP address owner is irrelevant to the preemption delay. After the IP address owner recovers, it becomes the master immediately without a delay.
  • On a stable network, a short preemption delay is recommended. When the master is faulty, the backup with the highest priority can rapidly switch to the master. This prevents traffic loss. On an unstable network, a long preemption delay is recommended. This prevents traffic loss caused by frequent switching of the VRRP group status.

Example

# Set the preemption delay of VRRP group 1 to 1800 seconds.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] vrrp vrid 1 preempt-mode timer delay 1800
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 198356

Downloads: 122

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