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 priority

vrrp vrid priority

Function

The vrrp vrid priority command sets the priority of the device in a VRRP group.

The undo vrrp vrid priority command restores the default priority of the device in a VRRP group.

By default, the priority of the device in a VRRP group is 100.

Format

vrrp vrid virtual-router-id priority priority-value

undo vrrp vrid virtual-router-id priority

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.
priority priority-value

Specifies the priority of the device in a VRRP group. A greater value indicates a higher priority of VRRP packets.

The value is an integer that ranges from 1 to 254.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure the device in a VRRP group as the default gateway, run the vrrp vrid priority command to specify the highest priority for the device so that the device can become the master.

Prerequisites

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

Precautions
  • Priority 0 is reserved in the system. Priority 255 is reserved for the IP address owner, and the priority of the IP address owner cannot be changed.

  • When devices in a VRRP group have the same priority, the device that first switches to master state becomes the master. If devices preempt to be the master simultaneously, the device on an interface with the largest IP address is the master.

Example

# Set the priority of the wireless access point in VRRP group 1 to 150.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.2
[Huawei-Vlanif100] vrrp vrid 1 priority 150
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 211513

Downloads: 122

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