address
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
vlan vlan‐id
vrid
ip‐address
owner
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
forwarding 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
20-44 IPv4 Routing Protocol Configuration
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.
Specifies a unique Virtual Router ID (VRID) associated with the routing
interface.
Specifies the virtual router IP address to associate with the router.
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.
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?