priority
SecureStack C2 Configuration Guide 17-41
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
Usage
IfthevirtualrouterIPaddressisthesameastheinterface(VLAN)addressownedbyaVRRP
router,thentherouterowningtheaddressbecomesthemaster.Themastersendsan
advertisementtoallotherVRRProutersdeclaringitsstatusandassumesresponsibilityfor
forwardingpacketsassociatedwithitsvirtual
routerID(VRID).
IfthevirtualrouterIPaddressisnotownedbyanyoftheVRRProuters,thentherouterscompare
theirprioritiesandthehigherpriorityownerbecomesthemaster.Ifpriorityvaluesarethesame,
thentheVRRProuterwiththehigherIPaddressisselectedmaster.
Fordetailsonusingthe
prioritycommand,referto“priority”onpage17‐41.
Example
Thisexampleshowshowtoconfigureavirtualrouteraddressof182.127.62.1ontheVLAN1
interface,VRID1,andtosettherouterconnectedtotheVLANviathisinterfaceasthemaster:
C2(su)->router(Config)#router vrrp
C2(su)->router(Config-router)#address vlan 1 1 182.127.62.1 1
priority
UsethiscommandtosetapriorityvalueforaVRRProuter.Thenoformofthiscommandclears
theVRRPpriorityconfiguration.
Syntax
priority vlan vlan-id vrid priority-value
no priority vlan vlan-id vrid priority-value
Parameters
Defaults
None.
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
vlanvlan‐id Specifiesthenum beroftheVLANonwhichtoconfigureVRRPpriority.
ThisVLANmustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage15‐1.
vrid SpecifiesauniqueVirtualRouterID(VRID)associatedwiththerouting
interface.
Validvaluesarefrom1to255.
priority‐value SpecifiestheVRRPpriorityvaluetoassociatewiththevrid.Validvaluesare
from1to254,withthehighestvaluesettingthehighestpriority.Priority
valueof255isreservedfortheVRRProuterthatownstheIPaddress
associated
withthevirtualrouter.Priority0isreservedforsignalingthat
themasterhasstoppedworkingandthebackuproutermusttransitionto
masterstate.