address
17-40 IPv4 Routing Protocol Configuration
Parameters
Defaults
None.
Mode
Router configuration: C2(su)->router(Config-router)#
Usage
ThiscommandmustbeexecutedtocreateaninstanceofVRRPonaroutingint erface(VLAN)
beforeanyotherVRRPsettingscanbeconfigured.
Example
ThisexampleshowshowtocreateaVRRPsessionontheVLAN1interfacewithaVRIDof1:
C2(su)->router(Config)#router vrrp
C2(su)->router(Config-router)#create vlan 1 1
address
UsethiscommandtoconfigureavirtualrouterIPaddress.Thenoformofthiscommandclears
theVRRPaddressconfiguration.
Syntax
address vlan vlan-id vrid ip-address owner
no address vlan vlan-id vrid ip-address owner
Parameters
Defaults
None.
vlanvlan‐id Specifiesthenum beroftheVLANonwhichtocreateaVRRP session.This
VLANmustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage15‐1.
vrid SpecifiesauniqueVirtualRouterID(VRID)toassociatewiththerouting
interface.
vlanvlan‐id Specifiesthenum beroftheVLANonwhichtoconfigureavirtualrouter
address.ThisVLANmustbeconfiguredforIProutingasdescribedin“Pre‐
RoutingConfigurationTasks”onpage15‐1.
vrid SpecifiesauniqueVirtualRouterID(VRID)associatedwiththerouting
interface.
ip‐address Specifies
thevirtualrouterIPaddresstoassociatewiththerouter.
owner SpecifiesavaluetoindicateiftherouterownstheIPaddressasoneofits
interfaces.Validvaluesare:
• 1toindicatetherouterownstheaddress.
• 0toindicatetherouterdoesnotowntheaddress.