Vrrp ip – LevelOne GTL-2690 User Manual

Page 669

Advertising
background image

Router Redundancy Commands

40-2

40

vrrp ip

This command enables the Virtual Router Redundancy Protocol (VRRP) on an
interface and specifies the IP address of the virtual router. Use the no form to
disable VRRP on an interface and remove the IP address from the virtual router.

Syntax

[no] vrrp group ip ip-address

group - Identifies the virtual router group. (Range: 1-255)
ip-address - The IP address of the virtual router. This is the IP address that

end-hosts set as their default gateway.

Default Setting

No virtual router groups are configured.

Command Mode

Interface (VLAN)

Command Usage

• The interfaces of all routers participating in a virtual router group must be

within the same IP subnet.

• If the IP address assigned to the virtual router with this command is already

configured as the primary address on this interface, this router is considered
the Owner, and will assume the role of the Master virtual router in the group.

• This interface is used for two purposes - to send/receive advertisement

messages and to forward on behalf of the virtual router when operating as the
Master VRRP router.

• VRRP is enabled as soon as this command is entered. If you need to

customize any of the other parameters for VRRP such as authentication,
priority, or advertisement interval, then first configure these parameters before
enabling VRRP.

Example

This example creates VRRP group 1 using the primary interface for VLAN 1 as the
VRRP group Owner.

Console(config)#interface vlan 1
Console(config-if)#vrrp 1 ip 192.168.1.6
Console(config-if)#

Advertising