Configuring VRRP VRRP Configuration Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 23-13
Enabling/Disabling a Virtual Router
To administratively enable a virtual router, use the vrrp or vrrp3 command option with the admin-state 
enable keyword. Note that at least one IPv4 address must be configured for a VRRPv2 virtual router 
before the virtual router can be enabled; this is not a requirement for VRRPv3 virtual routers. For 
example:
-> vrrp 6 4 priority 150
-> vrrp 6 4 address 10.10.2.3
-> vrrp 6 4 admin-state enable
-> vrrp3 10 5 priority 150
-> vrrp3 10 5 address 213:100:1::56
-> vrrp3 10 5 admin-state enable
In this example, a VRRPv2 virtual router is created on VLAN 4 with a VRID of 6 and a VRRPv3 virtual 
router is created on VLAN 5 with a VRID of 10. An IPv4 address is then assigned to the VRRPv2 virtual 
router and an IPv6 address is then assigned to the VRRPv3 virtual router. Both virtual routers are then 
enabled on the switch.
To disable a virtual router, use the admin-state disable keyword.
-> vrrp 6 4 admin-state disable
-> vrrp3 10 5 admin-state disable
A virtual router must be disabled before it can be modified. Use the vrrp or vrrp3 command option to 
disable the virtual router first; then use the command again to modify the parameters. For example:
-> vrrp 6 4 admin-state disable
-> vrrp 6 4 priority 200
-> vrrp 6 4 admin-state enable
-> vrrp3 10 5 admin-state disable
-> vrrp3 10 5 priority 200
-> vrrp3 10 5 admin-state enable
In this example, VRRPv2 virtual router 6 on VLAN 4 and VRRPv3 virtual router 10 on VLAN 5 are 
disabled. Both virtual routers are then modified to change their priority setting. (For information about 
configuring the priority setting, see “Configuring Virtual Router Priority” on page 23-11.) After the 
priority settings are changed, the virtual routers are then re-enabled and will be active on the switch.
Setting VRRP Traps
A VRRP router has the capability to generate VRRP SNMP traps for events defined in the VRRP SNMP 
MIB. There are two vrrp|vrrp3 trap command options for setting the status of sending SNMP traps:
• vrrp trap—enables or disables trap generation for a VRRPv2 virtual router.
• vrrp3 trap—enables or disables trap generation for a VRRPv3 virtual router.
In order for VRRP traps to be generated correctly, traps in general must be enabled on the switch through 
the SNMP CLI. See the OmniSwitch AOS Release 8 Switch Management Guide for more information 
about enabling SNMP traps globally.