Vrrp Vrid Priority - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2232
C
146: IP
4-B
HAPTER
V
Example

vrrp vrid priority

Syntax
View
Parameter
Description
Example
VRRP C
C
ASED
ONFIGURATION
resulting in frequent master/backup state transition of the standby group
members. Preemption delay is introduced to solve this problem. With a
preemption delay set, if the backup member does not receive the packet from the
master member duly, it waits for a period to see whether it can receive any packet
from the master. If the specified period elapses but it still receives no packet from
the master, it becomes the master.
Note that before executing the command, you need to create a standby group on
an interface and configure the virtual IP address of the standby group.
# Enable preemption on the router in VRRP standby group 1, and set the
preemption delay to five seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/0] vrrp vrid 1 preempt-mode timer delay 5
vrrp vrid virtual-router-id priority priority-value
undo vrrp vrid virtual-router-id priority
Interface view
virtual-router-id: VRRP standby group number, in the range 1 to 255.
priority-value: Priority value of the router in the specified standby group, in the
range 1 to 254, with a higher number indicating a higher priority.
Use the
vrrp vrid priority
specified standby group.
Use the
undo vrrp vrid priority
By default, the priority of a router in a standby group is 100.
Before executing the command, create a standby group on an interface and
configure the virtual IP address of the standby group.
In VRRP, the role that a router plays in a standby group depends on its priority.
A higher priority means that the router is more likely to become the master.
Note that priority 0 is reserved for special use and 255 for the IP address owner.
If the router is the IP address owner, its priority is always 255. Therefore, it will
be the master so long as it is functioning normally.
# Set the priority of the router in standby group 1 to 150.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/0] vrrp vrid 1 priority 150
OMMANDS
command to configure the priority of the router in the
command to restore the default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents