Configuring VRRP
Fixed Switch Configuration Guide 23-3
then advertisements are sent every advertising interval to let other VRRP routers in this VRID
know the router is still acting as master of the VRID. All routers with the same VRID should be
configured with the same advertisement interval. Use the advertise-interval command to change
the advertise-interval for this VRID.
Enabling Master Preemption
By default, a router is enabled to preempt a lower priority master for the configured virtual router.
If the router owns the virtual router IP address, it can not be preempted and always preempts
other routers regardless of the priority setting or this preemption setting. Use the preempt
command to enable or disable master preemption on this VRRP router.
Enabling ICMP Replies
You can enable the virtual router master to respond to an ICMP echo even if it does not “own” the
virtual IP address with the master-icmp-reply command. Without this function, the virtual router
can only respond to an ICMP echo when the virtual IP address matches the real IP address of the
interface. Therefore, when the backup router takes over, there would be no device that would
answer the ICMP echo for that virtual IP (because only the primary was configured with the
matching real IP). With master-icmp-reply enabled, management stations that use “ping” to poll
devices will be able to “see” that the virtual router is available when the backup router assumes
the role of master.
Configuring VRRP Authentication
A version 2 VRRP VRID can be configured for a simple clear text authentication password. Use the
ip vrrp authentication-key command in interface configuration command mode, specifying the
password.
Enabling the VRRP Virtual Router
All other VRRP options must be set before enabling a VRRP virtual router on the routing interface.
Once enabled, you can not make any configuration changes to VRRP without first disabling VRRP,
using the no enable command.
Use the enable command in router configuration command mode, specifying the VLAN on which
to enable VRRP and the VRID of the virtual router to be enabled.
Configuring VRRP
This section provides details for the configuration of VRRP on the fixed switch products.
Table 23-1 lists VRRP parameters and their default values.
Table 23-1 Default VRRP Parameters
Parameter Description Default Value
master-icmp-reply Enables the master of this virtual
router to respond to an ICMP echo,
even if the device is not the owner of
the virtual IP address.
disabled