Here is a sample configuration of the ERPS (Ethernet Ring Protection Switching) feature:
create vlan cv1 config vlan cv1 tag 10 config vlan cv1 add port 5,6 tagged create vlan pv1 config vlan pv1 tag 1000 config vlan pv1 add port 1 config vlan pv1 add port 5,6 tagged create erps ring1 configure erps ring1 add ring-ports east 5 configure erps ring1 add ring-ports west 6 configure erps ring1 add control “cv1” configure erps ring1 add protected vlan “pv1” configure erps ring1 add protection-port 5 configure erps ring1 revert enabled wait-to-restore 500 enable erps r1 enable erps
create cfm domain string "MD3" md-level 3 configure cfm domain "MD3" add association string "MD3vsub1" vlan "vsub1" configure cfm domain "MD3" association "MD3vsub1" ports 20 add end-point down 14 configure cfm domain "MD3" association "MD3vsub1" ports 24 add end-point down 13 configure cfm domain "MD3" association "MD3vsub1" ports 20 end-point down add group "erpsDn1" configure cfm domain "MD3" association "MD3vsub1" ports 24 end-point down add group "erpsDn2" configure cfm group "erpsDn1" add rmep 15 configure cfm group "erpsDn2" add rmep 12 configure erps subring1 cfm port east add group erpsDn2 configure erps subring1 cfm port west add group erpsDn1
First, configure a main ring on the Interconnected node:
create erps main-ring1 configure erps main-ring1 add ring-ports east 5 configure erps main-ring1 add ring-ports west 6 configure erps ring1 add control “cv1”
Next, configure a sub-ring on the interconnected node:
create erps sub-ring1 configure erps sub-ring1 add ring-ports east 10 configure erps sub-ring1 add control “subv1” configure erps main-ring1 add sub-ring sub-ring1 enable erps main-ring1 enable erps sub-ring1
configure vlan subv1 add port 5 6 tagged configure main-ring1 add protected vlan subv1
configure erps subring1 subring-mode no-virtualChannel