ip vrrp define 493
When you define a Primary router on a VLAN that contains a single
interface, the single interface is automatically chosen as the primary
address when you select IP-address as the Address mode.
When you define a Backup virtual router, selecting auto-learn as
the address mode configures the Backup router to lear n the IP
addresses that are associated with the virtual router by means of VRRP
advertisements from the Primary router. The Primary router must be up
for backup routers to auto-learn the addresses that are associated
with the specified VRID.
When you define Backup virtual routers, t he auto-learn address mode
option enables auto address learning for the specified VRI D. If a new
interface is added to the VLAN on a primary virtual router, the new IP
address is sent out in VRRP advertisements so that the Backup routers
in auto-learn mode can learn the new a ddress without having to
manually add the new address to each backup router.
Advertisement
Intervals
The smaller the advertisement interval, the smaller the failover time if
the master fails.
The advertisement interval must be the same across the set of VRRP
routers that are associated with a single VRID. Backup routers must
have the same advertisement interval as the Master router.
Options
Prompt Description Possible Values [Default]
Virtual router type Type of virtual router
that you want to
define
Primary
Backup
Primary
VLAN interface
index
Index number of the
virtual LAN (VLAN) on
which you want to
define the virtual
router
Index number of an IP
virtual LAN (VLAN) that
is defined on the
system.
? (for a list of selectable
indexes)
Index
number of
first
available
VLAN
VRID Virtual router
identifier. Identifi es
the virtual router that
you want to define on
the LAN.
1 – 255 1
Address mode Method by which th e
virtual router you
want to define learns
its IP addresses
auto-learn
IP address
auto-learn