
VRRP Configuration Overview
Configuring VRRP
page 22-10
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
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
•
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
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:
The next sections describe how to use these commands.
Creating/Deleting a Virtual Router
To create a virtual router, enter the
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
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
(
priority
keyword to change the default priority value and set a desired
value. 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 22-12
for more information about how priority is used.