This article explains how to configure Virtual Router Redundancy Protocol (VRRP) on Dell Networking OS9 switches.
VRRP allows multiple routers to provide active/passive redundancy for a routing IP address used by devices in a broadcast domain.
Command | Purpose |
R1# configure |
Enter configuration mode. |
R1(conf)# interface VLAN 10 |
Enter an interface (physical or VLAN). |
R1(conf-if-vl-10)# ip address 10.10.10.2 /24 R1(conf-if-vl-10)# no shutdown |
Set an IP address on the interface and enable for L3 mode. |
R1(conf-if-vl-10)# vrrp-group 10 |
Set VRRP group ID (VRID). |
R1(conf-if-vl-10-vrid-10)# virtual-address 10.10.10.1 |
Set a Virtual IP address for the VRRP router. |
R1(conf-if-vl-10-vrid-10)# priority 200 |
(Optional) Set priority for Primary election, the default is 100, the higher number takes priority, Range 1-255. |
Command | Purpose |
R2# configure |
Enter configuration mode. |
R2(conf)# interface VLAN 10 |
Enter an interface (physical or VLAN). |
R2(conf-if-vl-10)# ip address 10.10.10.3 /24 R2(conf-if-vl-10)# no shutdown |
Set an IP address on the interface and enable for L3 mode. |
R2(conf-if-vl-10)# vrrp-group 10 |
Set VRRP group ID (VRID) |
R2(conf-if-vl-10-vrid-10)# virtual-address 10.10.10.1 |
Set a Virtual IP address for the VRRP router. |
R2(conf-if-vl-10-vrid-10)# priority 150 |
(Optional) Set priority for Primary election, the default is 100, the higher number takes priority, Range 1-255. |
If two routers in a VRRP group come up simultaneously and have the same priority value, the interface's physical IP addresses are used as a tie-breaker to decide which is PRIMARY. The router with the higher IP address becomes PRIMARY.
R1# show vrrp Vlan 10, IPv4 VRID: 10, Version: 2, Net: 10.10.10.2 VRF: 0 default State: Primary, Priority: 200, Primary: 10.10.10.3 Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 2434, Gratuitous ARP sent: 24 Virtual MAC address: 00:00:5e:00:01:0a Virtual IP address: 10.10.10.1 Authentication: (none) R2# show vrrp Vlan 10, IPv4 VRID: 10, Version: 2, Net: 10.10.10.3 VRF: 0 default State: Backup, Priority: 150, Primary: 10.10.10.3 Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 2434, Gratuitous ARP sent: 24 Virtual MAC address: 00:00:5e:00:01:0a Virtual IP address: 10.10.10.1 Authentication: (none)