82
Predefined user roles
network-admin
mdc-admin
Parameters
virtual-router-id
: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.
adver-interval
: Specifies an interval for the master in the specified IPv6 VRRP group to send VRRP
advertisements. The value range for this argument is 10 to 4095 centiseconds. For VRRPv2, the
value of the
adver-interval
argument can only be a multiple of 100. For example, if you configure
values in the range of 10 to 100, 101 to 200, and 4001 to 4095, the actual values are 100, 200, and
4100, respectively. For VRRPv3, the value of the
adver-interval
argument that you configured takes
effect.
Usage guidelines
The master in an IPv6 VRRP group periodically sends VRRP advertisements to declare its presence.
You can use this command to configure the interval at which the master sends VRRP
advertisements.
As a best practice, set the VRRP advertisement interval to be greater than 100 centiseconds to
maintain system stability.
The routers in an IPv6 VRRP group can have different intervals for sending VRRP advertisements.
The master in the VRRP group sends VRRP advertisements at the specified interval and carries the
interval attribute in the advertisements. After a backup receives the advertisement, it records the
interval in the advertisement. If the backup does not receive a new VRRP advertisement from the
master when the timer (3 × VRRP advertisement sending in Skew_Time) expires, it regards
the master as failed and takes over as the master.
Large network traffic might disable a backup from receiving VRRP advertisements from the master
within the specified time and trigger an unexpected master switchover. To solve this problem, you
can use this command to configure a larger interval.
Examples
# Configure the master in IPv6 VRRP group 1 to send VRRP advertisements at an interval of 500
centiseconds.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp ipv6 vrid 1 timer advertise 500
Related commands
display
vrrp ipv6
vrrp ipv6 vrid track
Use
vrrp
ipv6
vrid track
to associate an IPv6 VRRP group with a track entry and control master
switchover in the VRRP group in response to changes (such as uplink state changes) detected by
the track entry.
Use
undo vrrp ipv6 vrid track
to remove the association between an IPv6 VRRP group and a track
entry. If no track entry is specified, the association between the VRRP group and any track entry is
removed.
Syntax
vrrp ipv6 vrid
virtual-router-id
track
track-entry-number
[
reduced
priority-reduced
|
switchover
]
undo vrrp ipv6 vrid
virtual-router-id
track
[
track-entry-number
]