Configuring VRRP 1231
vrrp
vr-id
timers {learn |
advertise
seconds
}
Configure the VRRP timer settings.
Use the keyword learn to enable VRRP to learn the
advertisement timer interval of the master router.
Use the keyword advertise to set the frequency, in seconds,
that an interface on the specified virtual router sends a
virtual router advertisement.
vrrp
vr-id
authentication
{none | simple
key
}
Set the authorization details value for the virtual router
configured on a specified interface.
vr-id
— The virtual router identifier. (Range: 1-255)
none
— Indicates authentication type is none.
simple
— Authentication type is a simple text password.
key
— The key for simple authentication. (Range: String
values)
vrrp
vr-id
mode Enable the virtual router configured on an interface, which
starts the virtual router.
vrrp
vr-id
track interface
vlan
vlan-id
[decrement
priority
]
Specify an interface the virtual router (
vr-id
)
on the
interface will track. If the interface goes down, the virtual
router priority is decreased by the amount specified by the
priority
value.
vrrp
vr-id
track ip route
ip-address/prefix-leng th
[decrement
priority
]
Specify a route that the virtual router (
vr-id
)
on the
interface will track. If the route to the destination network
specified by the
ip-address/prefix-length
variable is
removed from the routing table, the virtual router priority
is decreased by the amount specified by the
priority
value.
CTRL + Z Exit to Privileged EXEC mode.
show vrrp [
vr-id
]View settings for all VRRP groups or for the specified
VRRP group for the switch.
show vrrp brief View a summary of interfaces con figured to participate in
VRRP groups.
show vrrp interface
{brief | vlan
vlan-id
[stats]}
View information about VRRP settings configured on all
interfaces or on the specified interface. If you specify an
interface, use the keyword stats to view VRRP statistics for
the interface.
Command Purpose