Ethernet Ring Protection (ERP) prevents fatal loops in ring network topologies while providing fast protection switching to maintain network stability. Unlike traditional spanning-tree protocols, ERP is specifically optimized for ring architectures, offering more efficient convergence and better resource utilization. ERP works by designating a specific link (Ring Protection Link - RPL) to protect the entire ring, which remains blocked during normal operation and becomes active only when a failure occurs in the ring. This approach ensures no loops form while maintaining network redundancy.
Before deploying ERP, it's essential to understand the requirements, limitations, and key components:
1. Basic Requirements:
2. Platform-Specific Limitations:
3. Key Components and States:
4. Incompatibilities:
1. Pre-Configuration Considerations:
2. NON-ELS Configuration Steps:
# A. Disable xSTP on ERP interfaces (required)[edit protocols]set rstp interface ge-0/0/0 disableset rstp interface ge-0/0/1 disable
set rstp interface ge-0/0/0 disable
set rstp interface ge-0/0/1 disable
# B. Configure VLANs (control and data)set vlans erp-control-vlan vlan-id 100set vlans erp-data-vlan-1 vlan-id 101
set vlans erp-control-vlan vlan-id 100
set vlans erp-data-vlan-1 vlan-id 101
#C. Configure the EAST and WEST interfaces on RPL Owner Node & Regular Nodes
set interfaces ge-0/0/3 flexible-vlan-taggingset interfaces ge-0/0/3 unit 0 family ethernet-switching port-mode trunkset interfaces ge-0/0/3 unit 0 family ethernet-switching vlan members 100-101set interfaces ge-0/0/4 flexible-vlan-taggingset interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunkset interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members 100-101
set interfaces ge-0/0/3 flexible-vlan-tagging
set interfaces ge-0/0/3 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/3 unit 0 family ethernet-switching vlan members 100-101
set interfaces ge-0/0/4 flexible-vlan-tagging
set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members 100-101
# D. Configure RPL Owner Nodeset protocols protection-group ethernet-ring erp1set protocols protection-group ethernet-ring erp1 ring-protection-link-ownerset protocols protection-group ethernet-ring erp1 control-vlan erp-control-vlanset protocols protection-group ethernet-ring erp1 data-channel vlan erp-data-vlan-1set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0set protocols protection-group ethernet-ring erp1 east-interface ring-protection-link-endset protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/1.0
set protocols protection-group ethernet-ring erp1
set protocols protection-group ethernet-ring erp1 ring-protection-link-owner
set protocols protection-group ethernet-ring erp1 control-vlan erp-control-vlan
set protocols protection-group ethernet-ring erp1 data-channel vlan erp-data-vlan-1
set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0
set protocols protection-group ethernet-ring erp1 east-interface ring-protection-link-end
set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/1.0
# E. Configure Regular Nodesset protocols protection-group ethernet-ring erp1set protocols protection-group ethernet-ring erp1 control-vlan erp-control-vlanset protocols protection-group ethernet-ring erp1 data-channel vlan erp-data-vlan-1set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/1.0
3. ELS Configuration Steps:
# A. Disable xSTP on ERP interfaces (version dependent)## For Junos 15.1 or later:set protocols rstp interface ge-0/0/0 disableset protocols rstp interface ge-0/0/1 disable## For Junos prior to 15.1:delete rstp interface ge-0/0/0delete rstp interface ge-0/0/1
set protocols rstp interface ge-0/0/0 disable
set protocols rstp interface ge-0/0/1 disable
delete rstp interface ge-0/0/0
delete rstp interface ge-0/0/1
set interfaces ge-0/0/0 flexible-vlan-taggingset interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunkset interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 100-101set interfaces ge-0/0/1 flexible-vlan-taggingset interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunkset interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members 100-101
set interfaces ge-0/0/0 flexible-vlan-tagging
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 100-101
set interfaces ge-0/0/1 flexible-vlan-tagging
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members 100-101
# D. Configure RPL Owner Nodeset protocols protection-group ethernet-ring erp1set protocols protection-group ethernet-ring erp1 ring-protection-link-ownerset protocols protection-group ethernet-ring erp1 control-vlan 100set protocols protection-group ethernet-ring erp1 data-channel vlan 101set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0set protocols protection-group ethernet-ring erp1 east-interface ring-protection-link-endset protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/1.0set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100
set protocols protection-group ethernet-ring erp1 control-vlan 100
set protocols protection-group ethernet-ring erp1 data-channel vlan 101
set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100
set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100
# E. Configure Regular Nodesset protocols protection-group ethernet-ring erp1set protocols protection-group ethernet-ring erp1 control-vlan 100set protocols protection-group ethernet-ring erp1 data-channel vlan 101set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/1.0set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100
4. Troubleshooting Steps:
show configuration protocols protection-group
show interfaces
show protection-group ethernet-ring interface brief
show protection-group ethernet-ring node-state
show protection-group ethernet-ring statistics
show protection-group ethernet-ring interface detail
set protocols protection-group traceoptions file ERP.trset protocols protection-group traceoptions file size 5mset protocols protection-group traceoptions file files 5set protocols protection-group traceoptions flag all
set protocols protection-group traceoptions file ERP.tr
set protocols protection-group traceoptions file size 5m
set protocols protection-group traceoptions file files 5
set protocols protection-group traceoptions flag all
Common Issues to Check:
02-02-2025 - KB created