VRRP Configuration Overview Configuring VRRP
page 23-10 OmniSwitch 6800/6850/9000 Network Configuration Guide March 2008
VRRP Configuration Overview
During startup, VRRP is loaded onto the switch and is enabled. Virtual routers must be configured and
enabled as described in the following sections. Since VRRP is implemented on multiple switches in the
network, some VRRP parameters must be identical across switches:
• VRRP and ACLs
If QoS filtering rules (Access Control Lists) are configured for Layer 3 traffic on a VRRP router, all of
the VRRP routers on the LAN must be configured with the same filtering rules; otherwise the security
of the network will be compromised. For more information about filtering, see Chapter 31, “Configur-
ing ACLs.”
• Conflicting VRRP Parameters Across Switches
All virtual routers with the same VRID on the LAN should be configured with the same advertisement
interval and IP addresses. If the virtual routers are configured differently, it may result in more than one
virtual router acting as the master router. This in turn would result in duplicate IP and MAC address
messages as well as multiple routers forwarding duplicate packets to the virtual router MAC address.
Use the show vrrp statistics command to check for conflicting parameters. For information about
configuring VRRP parameters, see the remaining sections of this chapter.
Basic Virtual Router Configuration
At least two virtual routers must be configured on the LAN—a master router and a backup router. The
virtual router is identified by a number called the Virtual Router ID (VRID), the VLAN on which the
virtual router is configured, and the IP address or addresses associated with the router. Multiple virtual
routers may be configured on a single physical VRRP router.
Basic commands for setting up virtual routers include:
vrrp
vrrp address
The next sections describe how to use these commands.
Creating/Deleting a Virtual Router
To create a virtual router, enter the vrrp command with the desired VRID and the relevant VLAN ID. The
VRID must be a unique number in the range from 1 to 255. The VLAN must already be created on the
switch through the vlan command. For information about creating VLANs, see Chapter 4, “Configuring
VLANs.” For example:
-> vrrp 6 4
This command creates VRID 6 on VLAN 4.
When you create a new virtual router, the VRID ID and a VLAN ID are required. Optionally, you may
also specify:
• Priority (in the range from 1 to 255); use the priority keyword with the desired value. The default is
100. Note that the IP address owner is automatically assigned a value of 255, which overrides any
value that you may have already configured. See “Configuring Virtual Router Priority” on page 23-12
for more information about how priority is used.