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 track interface

vrrp vrid track interface

Function

The vrrp vrid track interface command associates a VRRP group with an interface.

The undo vrrp vrid track interface command disassociates a VRRP group from an interface.

By default, a VRRP group is not associated with an interface.

Format

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

undo vrrp vrid virtual-router-id track interface [ interface-type interface-number ]

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.
interface-type interface-number Specifies the type and number of an interface monitored by a VRRP group.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
increased value-increased Specifies the value by which the priority increases when the monitored interface becomes Down. The maximum value of the priority is 254. The value is an integer that ranges from 1 to 255.
reduced value-reduced Specifies the value by which the priority decreases when the monitored interface becomes Down. The value is an integer that ranges from 1 to 255. The priority can decrease to 1. By default, when the monitored interface goes Down, the VRRP priority of the device decreases by 10.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

VRRP can only detect the status change of the interface on which a VRRP group is configured. VRRP cannot detect faults on the uplink interface, causing service interruption. You can run the vrrp vrid track interface command to associate a VRRP group with a device interface not in the VRRP group. When the monitored interface becomes Down, the priority of the device is adjusted and an active/standby switchover is triggered. Therefore, services can be forwarded correctly. When the status of the monitored interface recovers, the original priority of the device in the VRRP group is restored.

Prerequisites

The vrrp vrid virtual-ip command has been executed on an interface to create a VRRP group.

Precautions

After a VRRP group is associated with an interface, set an appropriate value of increased value-increased or reduced value-reduced. This setting ensures that an active/standby switchover is performed immediately when the monitored interface becomes Down.

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

  • If the device is the IP address owner (the virtual router IP address is used as the actual interface address), you cannot associate a VRRP group with an interface.

  • Multiple VRRP groups can monitor an interface, and a VRRP group can monitor a maximum of eight interfaces simultaneously.

Example

# Associate VRRP group 1 with VLANIF100. If VLANIF100 becomes Down, the priority of the wireless access point in VRRP group 1 decreases to 50.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.1
[Huawei-Vlanif100] vrrp vrid 1 track interface vlanif 100 reduced 50
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207109

Downloads: 122

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