[Enhancement] Support ERPS with Multiple Instance

Steven_zhangCreated at:Dec 11, 2019 14:35:14Updated at:Dec 11, 2019 14:35:20

Support models and software version:

ECS4120 Series V1.2.2.18 and above.

ECS4100 Series V1.2.36.191 and above.

 

Overview

ERPS provides a solution that allows physical loops but creates loop-free logical topologies.

Loop avoidance for a ring topology is achieved by guaranteeing that, at any time, traffic may flow on all but one of the ring links. This particular link is called the ring protection link (RPL), and under normal conditions this link is blocked, i.e. not used for user traffic. One end of the RPL link is designated as RPL owner which is responsible to block user traffic over the RPL. Once a link failure is detected, the RPL owner shall react to unblock the RPL and quickly recover from network outages.

As mentioned above, a physical link of a ring will be blocked to avoid loops. Redundant links cannot be utilized. Multiple instances feature is proposed to address this problem. The set of VLANs of Ethernet ring could be grouped into several subsets called ERP instances. Because users can define a different RPL per instance, all physical links can be utilized.

 

The difference between Old and New version of ERPS.

1. Number of instance per ring

    I. Old version: one instance per ring.

    II. New version: more than one instance per ring.

2. ERPS domain vs. ERPS ring and instance

    I. Old version: all you have to do is configuring an ERPS domain which is equivalent to an ERPS ring and

                           an ERPS instance.

    II. New version: ERPS domain configuration is further decomposed into ERPS ring and ERPS instance

                             configurations.

        - Users have to configure ERPS rings and ERPS instances separately and bind one or more ERPS

           instances to any one of ERPS ring.

3. Exclusion-VLAN and inclusion-VLAN

    I. Inclusion VLANs are protected by an ERPS domain.

    II. Exclusion VLANs are not protected by an ERPS domain.

        - Traffic of exclusion VLANs will not be blocked on the ring ports.

        - VLANs not configured in the inclusion list and exclusion list will be always blocked on the ring ports.

        - Traffic of VLANs (including control VLAN, inclusion VLANs, and exclusion VLANs) used in an ERPS

           domain will always be unblocked on all non-ERPS ring ports.

 

Topology

mceclip0.png

Configuration

SW1

SW1#configure
SW1(config)#interface ethernet 1/1
SW1(config-if)#switchport allowed vlan add 100,200,300 tagged
SW1(config-if)#exit
SW1(config)#interface ethernet 1/25
SW1(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW1(config-if)#spanning-tree spanning-disabled
SW1(config-if)#exit
SW1(config)#interface ethernet 1/26
SW1(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW1(config-if)#spanning-tree spanning-disabled
SW1(config-if)#exit
SW1(config)#erps
SW1(config)#erps vlan-group group1 add 10,100
SW1(config)#erps vlan-group group2 add 20,200
SW1(config)#erps ring Ring
SW1(config-erps-ring)#ring-port west interface ethernet 1/25
SW1(config-erps-ring)#ring-port east interface ethernet 1/26
SW1(config-erps-ring)#enable
SW1(config-erps-ring)#exit
SW1(config)#erps instance inst1 id 1
SW1(config-erps-inst)#control-vlan 10
SW1(config-erps-inst)#rpl owner
SW1(config-erps-inst)#physical-ring Ring
SW1(config-erps-inst)#inclusion-vlan group1
SW1(config-erps-inst)#enable
SW1(config-erps-inst)#exit
SW1(config)#erps instance inst2 id 2
SW1(config-erps-inst)#control-vlan 20
SW1(config-erps-inst)#physical-ring Ring
SW1(config-erps-inst)#inclusion-vlan group2
SW1(config-erps-inst)#enable
SW1(config-erps-inst)#end

SW2 & SW4

SW2#configure
SW2(config)#interface ethernet 1/1
SW2(config-if)#switchport allowed vlan add 100,200,300 tagged
SW2(config-if)#exit
SW2(config)#interface ethernet 1/25
SW2(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW2(config-if)#spanning-tree spanning-disabled
SW2(config-if)#exit
SW2(config)#interface ethernet 1/26
SW2(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW2(config-if)#spanning-tree spanning-disabled
SW2(config-if)#exit
SW2(config)#erps
SW2(config)#erps vlan-group group1 add 10,100
SW2(config)#erps vlan-group group2 add 20,200
SW2(config)#erps ring Ring
SW2(config-erps-ring)#ring-port west interface ethernet 1/25
SW2(config-erps-ring)#ring-port east interface ethernet 1/26
SW2(config-erps-ring)#enable
SW2(config-erps-ring)#exit
SW2(config)#erps instance inst1 id 1
SW2(config-erps-inst)#control-vlan 10
SW2(config-erps-inst)#physical-ring Ring
SW2(config-erps-inst)#inclusion-vlan group1
SW2(config-erps-inst)#enable
SW2(config-erps-inst)#exit
SW2(config)#erps instance inst2 id 2
SW2(config-erps-inst)#control-vlan 20
SW2(config-erps-inst)#physical-ring Ring
SW2(config-erps-inst)#inclusion-vlan group2
SW2(config-erps-inst)#enable
SW2(config-erps-inst)#end

SW3

SW3#configure
SW3(config)#interface ethernet 1/1
SW3(config-if)#switchport allowed vlan add 100,200,300 tagged
SW3(config-if)#exit
SW3(config)#interface ethernet 1/25
SW3(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW3(config-if)#spanning-tree spanning-disabled
SW3(config-if)#exit
SW3(config)#interface ethernet 1/26
SW3(config-if)#switchport allowed vlan add 10,20,100,200,300 tagged
SW3(config-if)#spanning-tree spanning-disabled
SW3(config-if)#exit
SW3(config)#erps
SW3(config)#erps vlan-group group1 add 10,100
SW3(config)#erps vlan-group group2 add 20,200
SW3(config)#erps ring Ring
SW3(config-erps-ring)#ring-port west interface ethernet 1/25
SW3(config-erps-ring)#ring-port east interface ethernet 1/26
SW3(config-erps-ring)#enable
SW3(config-erps-ring)#exit
SW3(config)#erps instance inst1 id 1
SW3(config-erps-inst)#control-vlan 10
SW3(config-erps-inst)#physical-ring Ring
SW3(config-erps-inst)#inclusion-vlan group1
SW3(config-erps-inst)#enable
SW3(config-erps-inst)#exit
SW3(config)#erps instance inst2 id 2
SW3(config-erps-inst)#control-vlan 20
SW3(config-erps-inst)#rpl owner
SW3(config-erps-inst)#physical-ring Ring
SW3(config-erps-inst)#inclusion-vlan group2
SW3(config-erps-inst)#enable
SW3(config-erps-inst)#end

 

SW1 VLAN group configuration

mceclip1.png

SW1 ERPS ring configuration

mceclip2.png

SW1 ERPS instance configuration

mceclip3.png

SW2 VLAN group configuration

mceclip4.png

SW2 ERPS ring configuration

mceclip5.png

SW2 ERPS instance configuration

mceclip6.png

SW3 VLAN group configuration

mceclip7.png

SW3 ERPS ring configuration

mceclip8.png

SW3 ERPS instance configuration

mceclip9.png

SW4 VLAN group configuration

mceclip10.png

SW4 ERPS ring configuration

mceclip11.png

SW4 ERPS instance configuration

mceclip12.png

 

Exclusion VLAN

mceclip13.png

Add two hosts for traffic VLAN 300.

If we didn't configure VLAN300 for exclusion vlan, then the traffic will be blocked by ERPS.

mceclip14.png

To prevent VLAN300 on ports of the logical line from being blocked by ERPS, the user can configure physical rings to form the line topology.

SW1

SW1(config)#erps vlan-group group3 add 300
SW1(config)#erps ring Ring
SW1(config-erps-ring)#no enable
SW1(config-erps-ring)#exclusion-vlan group3
SW1(config-erps-ring)#enable

SW2

SW2(config)#erps vlan-group group3 add 300
SW2(config)#erps ring Ring
SW2(config-erps-ring)#no enable
SW2(config-erps-ring)#exclusion-vlan group3
SW2(config-erps-ring)#enable

SW4

SW4(config)#erps vlan-group group3 add 300
SW4(config)#erps ring Ring
SW4(config-erps-ring)#no enable
SW4(config-erps-ring)#exclusion-vlan group3
SW4(config-erps-ring)#enable

mceclip15.png

mceclip16.png

 

mceclip17.png

mceclip18.png

 

mceclip19.png

mceclip20.png

 

VLAN300 traffic could forward without problem.

mceclip21.png