2244
C
147: VRRP C
HAPTER
Example
vrrp ipv6 vrid timer advertise
Syntax
View
Parameter
Description
Example
C
ONFIGURATION
OMMANDS FOR
Use the
undo vrrp ipv6 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 IPv6 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 ipv6 vrid 1 virtual-ip fe80::2 link-local
[Sysname-Ethernet1/0] vrrp ipv6 vrid 1 priority 150
vrrp ipv6 vrid virtual-router-id timer advertise adver-interval
undo vrrp ipv6 vrid virtual-router-id timer advertise
Interface view
virtual-router-id: VRRP standby group number, in the range 1 to 255.
adver-interval: Interval at which the master in the specified standby group sends
VRRP advertisements. It ranges from 100 to 4095 centiseconds.
Use the
vrrp ipv6 vrid timer advertise
Adver_Timer of the specified standby group.
Use the
undo vrrp ipv6 vrid timer advertise
By default the Adver_Timer is 100 centiseconds.
The Adver_Timer controls the interval at which the master sends VRRP packets.
Before executing the command, create a standby group on an interface and
■
configure the virtual IPv6 address of the standby group.
Routers in the same VRRP standby group must use the same Adver_Timer
■
setting.
# Set the master in standby group 1 to send VRRP advertisements at intervals of
500 centiseconds.
<Sysname> system-view
[Sysname] interface ethernet 1/0
IP
6
V
command to restore the default.
command to configure the
command to restore the default.