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 vlanid

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.

 

 

Defaults

None.

Mode

Router configuration: C3(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:

C3(su)->router(Config)#router vrrp

C3(su)->router(Config-router)#address vlan 1 1 182.127.62.1 1

20-44 IPv4 Routing Protocol Configuration

Page 614
Image 614
Enterasys Networks 9034313-07 manual Address, Router configuration C3su‐routerConfig‐router#