preempt
20-46 IPv4 Routing Protocol Configuration
Parameters
Defaults
None.
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
Usage
VRRPadvertisementsaresentbythemasterroutertootherroutersparticipatingintheVRRP
masterselectionprocess,informingthemofitsconfiguredvalues.Oncethemasterisselect ed,
thenadvertisementsaresenteveryadvertisingintervaltoletotherVRRProutersinthisVLAN/
VRIDknowtherouterisstillacting
asmasteroftheVLAN/VRID.
AllrouterswiththesameVRIDshouldbeconfiguredwiththesameadvertisementinterval.
Example
Thisexampleshowshowsetanadvertiseintervalof3secondsontheVLAN1interface,VRID1:
C2(su)->router(Config)#router vrrp
C2(su)->router(Config-router)#advertise-interval vlan 1 1 3
preempt
UsethiscommandtoenableordisablepreemptmodeonaVRRProuter.Thenoformofthis
commanddisablespreemptmode.
Syntax
preempt vlan-id vrid
no preempt vlan-id vrid
Parameters
Defaults
None.
vlanvlan‐id SpecifiesthenumberoftheVLANonwhichtoconfiguretheVRRP
advertisementinterval.ThisVLANmustbeconfiguredforIProutingas
describedin“Pre‐RoutingConfigurationTasks”onpage18‐1.
vrid SpecifiesauniqueVirtualRouterID(VRID)associatedwiththerouting
interface.Validvalues
arefrom1to255.
interval SpecifiesaV RRPadvertisementintervaltoassociatewiththevrid.Valid
valuesarefrom1to255seconds.
vlanvlan‐id SpecifiesthenumberoftheVLANonwhichtosetpreemptmode.This
VLANmustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage18‐1.
vrid SpecifiesauniqueVirtualRouterID(VRID)associatedwiththerouting
interface.Validvaluesarefrom1
to255.