Microsoft ES4612 User Manual

Page of 666
Command Line Interface
4-312
4
vrrp ip
This command enables the Virtual Router Redundancy Protocol (VRRP) on an 
interface and specify 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 [secondary]
• group - Identifies the virtual router group. (Range: 1-255)
• ip-address - The IP address of the virtual router.
• secondary - Specifies additional secondary IP addresses assigned to the 
current VLAN interface that are supported by this VRRP group.
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.
• The IP address assigned to the virtual router must already be configured on 
the router that will be the Owner. In other words, the IP address specified in 
this command must already exist on one, and only one, router in the virtual 
router group, and the network mask for the virtual router address is derived 
from the Owner. The Owner will also assume the role of the Master virtual 
router in the group.
• If you have multiple secondary addresses configured on the current VLAN 
interface, you can use this command with the secondary keyword to add any 
secondary address that will be supported by the virtual 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, and also adds a secondary interface as a member of the group.
Console(config)#interface vlan 1
Console(config-if)#vrrp 1 ip 192.168.1.6
Console(config-if)#vrrp 1 ip 192.168.2.6 secondary
Console(config-if)#