Ruijie Community

Title: [Solution]: Combine L2 redundancy using ERPS and L3 Redundancy using VRRP [Print this page]

Author: xiangwei.yao@ru    Time: 2025-3-17 22:37
Title: [Solution]: Combine L2 redundancy using ERPS and L3 Redundancy using VRRP
Edited by XIANGWEI YAO at 2025-3-18 18:24

When we are deploy a networking scenario which requires High-Redundancy, we can use ERPS protocol. By the same time, the customer may also need Gateway Redundancy, which requires VRRP.
In the following topology, we can check that we have VRRP+ERPS, When we have a single point of failure, the traffic will switch to redundant route, when we have a GTW failure, the traffic will also switch to the redundant link and in the meantime we have a GTW switchover.
Switchover process
1. For normal situation, the traffic will be forwarded through Active(left) GTW
2. When the link failure occurs, the traffic will switchover to redundant link

3. For the single point device failure, we can also active the redundant link

4. If the GTW is failing, the traffic will switchover to redundant link and to backup GTW.

Configuration:
1. Configure on both CS85
- configure ERPS Trunk port on both switches
GTW Master of VRRP backup group
interface TenGigabitEthernet 0/29
description to_NIS3100
switchport mode trunk
interface TenGigabitEthernet 0/30
Description to_CS85
switchport mode trunk
interface VLAN 1
ip address 192.168.10.2 255.255.255.0
vrrp 1 ip 192.168.10.3
service dhcp
ip dhcp pool vlan1
lease 0 8 0
network 192.168.10.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.10.3
vlan100
erps raps-vlan 100
ring-port west TenGigabitEthernet 0/29 east TenGigabitEthernet 0/30
rpl-port east rpl-owner
state enable
erps enable
GTW Backup of VRRP backup group
interface TenGigabitEthernet 0/29
description to_NIS3100
switchport mode trunk
interface TenGigabitEthernet 0/30
Description to_CS85
switchport mode trunk
interface VLAN 1
ip address 192.168.10.1 255.255.255.0
vrrp 1 ip 192.168.10.3
vrrp 1 priority 90
service dhcp
ip dhcp pool vlan1
lease 0 8 0
network 192.168.10.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.10.3
vlan100
erps raps-vlan 100
ring-port west TenGigabitEthernet 0/29 east TenGigabitEthernet 0/30
state enable
erps enable
2. Configuration on Both NIS3100
VLAN configuration:
NIS 1:


NIS2:


Note: the MEL Level on NIS switches should be configure to 0
After configuration, the ERPS should be well negotiated:


we also check the negotiation of VRRP:

Master:

backup:



if we similate a link failure on 1 NIS switch:

we recover the link and we simulate a device failure:


we check the gateway is correctly switched over to backup device:




we can check the traffic is switched over, and we have only 1 packet loss

after the reboot, the Master gateway is restored and check the ERPS status again:








Author: lengjiajun@ruij    Time: 2025-3-18 01:43
can you ping double gateway and vitural gateway on your pc first
i need check more information





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2