How to Configure Virtual Router Redundancy Protocol (VRRP) on Dell Networking PowerConnect switches

Resumen: This article explains how to configure Virtual Router Redundancy Protocol (VRRP) on Dell Networking PowerConnect with firmware 4.0 and higher switches.

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Instrucciones

Objectives

 
1.  Overview
2.  Configuration
3.  Verify Configuration
 
 

Overview

 
VRRP allows multiple routers to provide active/passive redundancy for a routing IP address used by devices on a broadcast domain.
 
  • VRRP Primary - actively responds to the virtual IP address
  • VRRP Backup - elected as the primary if advertisements from the primary are no longer detected and begins responding to the virtual IP address
  • Virtual Router Identifier (VRID) - configured to match between VRRP routers

 

Configuration 


You will need to complete configuration on both physical devices that are selected for the VRRP installation.

NOTE: Prior configuration of ports on the switches to establish a trunk that will allow VLAN traffic to pass between the two switches is required.

NOTE:  You will need to ensure that the IP interface/VLAN is reachable from both switches. If not the both switches will come up as PRIMARY. VRRP hellos are sent thru Multicast and all protocol messaging is performed using IP multicast datagrams.

 
Router 1
 
Command Purpose
R1(config)# ip routing
R1(config)# ip vrrp
Enable routing on the switch using the ip routing command and use the ip vrrp command to enable the VRRP routing protocol on the switch.
R1(config)# interface vlan 10
R1(config-if-vlan10)# ip address 10.10.10.2 /24
Enter the selected VLAN interface and assign an IP address.
R1(config-if-vlan10)# vrrp 1 Set the VRID for the group.
R1(config-if-vlan10)# vrrp 1 10.10.10.1 Set the virtual IP address for the VRRP router.
R1(config-if-vlan10)# vrrp 1 mode
R1(config-if-vlan10)# vrrp 1 priority 20
Use the vrrp 1 mode command to activate the VRRP router.  Use the vrrp 1 priority command to set the priority for primary election.  Range 1-254.


Router 2
 
Command Purpose
R2(config)# ip routing
R2(config)# ip vrrp
Enable routing on the switch using the ip routing command and use the ip vrrp command to enable the VRRP routing protocol on the switch.
R2(config)# interface vlan 10
R2(config-if-vlan10)# ip address 10.10.10.3 /24
Enter the selected VLAN interface and assign an IP address.
R2(config-if-vlan10)# vrrp 1 Set the VRID for the group.
R2(config-if-vlan10)# vrrp 1 10.10.10.1 Set the virtual IP address for the VRRP router.
R2(config-if-vlan10)# vrrp 1 mode
R2(config-if-vlan10)# vrrp 1 priority 200
Use the vrrp 1 mode command to activate the VRRP router.  Use the vrrp 1 priority command to set the priority for primary election.  Range 1-254.
 

   

NOTE:  If two routers in a VRRP group come up at the same time and have the same priority value, the interface's physical IP addresses are used as tie-breakers to decide which is Primary. The router with the higher IP address becomes Primary.

 

Verify Configuration

 
console# show vrrp interface brief
 
Interface     VRID       IP Address        Mode        State
---------         ------         --------------          ------       ------------
vlan 10          1            10.10.10.1       Enable      Primary
 

Productos afectados

PowerConnect 7024, PowerConnect 7024F, PowerConnect 7024P, PowerConnect 7048, PowerConnect 7048P, PowerConnect 7048R, PowerConnect 8024, PowerConnect 8024F, PowerConnect 8100 Series
Propiedades del artículo
Número del artículo: 000120182
Tipo de artículo: How To
Última modificación: 05 jun 2025
Versión:  6
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.