address
20-44 IPv4 Routing Protocol Configuration
address
Useî ±thisî ±commandî ±toî ±configureî ±aî ±virtualî ±routerî ±IPî ±address.î ±Theî ±noî ±formî ±ofî ±thisî ±commandî ±clearsî ±
theî ±VRRPî ±addressî ±configuration.
Syntax
address vlan vlan-id vrid ip-address owner
no address vlan vlan-id vrid ip-address owner
Parameters
Defaults
None.
Mode
Routerî ±configuration:î ±C2(su)â>router(Configârouter)#
Usage
Ifî ±theî ±virtualî ±routerî ±IPî ±addressî ±isî ±theî ±sameî ±asî ±theî ±interfaceî ±(VLAN)î ±addressî ±ownedî ±byî ±aî ±VRRPî ±
router,î ±thenî ±theî ±routerî ±owningî ±theî ±addressî ±becomesî ±theî ±master.î ±Theî ±masterî ±sendsî ±anî ±
advertisementî ±toî ±allî ±otherî ±VRRPî ±routersî ±declaringî ±itsî ±statusî ±andî ±assumesî ±responsibilityî ±forî ±
forwar dingî ±packetsî ±associatedî ±withî ±itsî ±virtual
î ±routerî ±IDî ±(VRID).î ±
Ifî ±theî ±virtualî ±routerî ±IPî ±addressî ±isî ±notî ±ownedî ±byî ±anyî ±ofî ±theî ±VRRPî ±routers,î ±thenî ±theî ±routersî ±compareî ±
theirî ±prioritiesî ±andî ±theî ±higherî ±priorityî ±ownerî ±becomesî ±theî ±master.î ±Ifî ±priorityî ±valuesî ±areî ±theî ±same,î ±
thenî ±theî ±VRRPî ±routerî ±withî ±theî ±higherî ±IPî ±addressî ±isî ±selectedî ±master.î ±
Forî ±detailsî ±onî ±usingî ±theî ±
priorityî ±command,î ±referî ±toî ±âpriorityâî ±onî ±pageî ±20â45.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±configureî ±aî ±virtualî ±routerî ±addressî ±ofî ±182.127.62.1î ±onî ±theî ±VLANî ±1î ±
interface,î ±VRIDî ±1,î ±andî ±toî ±setî ±theî ±routerî ±connectedî ±toî ±theî ±VLANî ±viaî ±thisî ±interfaceî ±asî ±theî ±master:
C2(su)->router(Config)#router vrrp
C2(su)->router(Config-router)#address vlan 1 1 182.127.62.1 1
vlanî ±vlanâid Specifiesî ±theî ±numberî ±ofî ±theî ±VLANî ±onî ±whichî ±toî ±configureî ±aî ±virtualî ±routerî ±
address.î ±Thisî ±VLANî ±mustî ±beî ±configuredî ±forî ±IPî ±routingî ±asî ±describedî ±inî ±âPreâ
Routingî ±Configurationî ±Tasksâî ±onî ±pageî ±18â1.
vrid Specifiesî ±aî ±uniqueî ±Virtualî ±Routerî ±IDî ±(VRID)î ±associatedî ±withî ±theî ±routingî ±
interface.î ±
ipâaddress Specifiesî ±
theî ±virtualî ±routerî ±IPî ±addressî ±toî ±associateî ±withî ±theî ±router.î ±
owner Specifiesî ±aî ±valueî ±toî ±indicateî ±ifî ±theî ±routerî ±ownsî ±theî ±IPî ±addressî ±asî ±oneî ±ofî ±itsî ±
interfaces.î ±Validî ±valuesî ±are:
âą 1î ±toî ±indicateî ±theî ±routerî ±ownsî ±theî ±address.î ±
âą 0î ±toî ±indicateî ±theî ±routerî ±doesî ±notî ±ownî ±theî ±address.