OcNOS SP : Carrier Ethernet Guide : Carrier Ethernet Configuration : G.8032 ERPS Version 2
G.8032 ERPS Version 2
G.8032 is an International Telecommunication Union (ITU) standard for ERPS. It prevents loops on a per-VLAN basis with networks that are wired in a simple ring topology. The loops are prevented by blocking traffic on either a predetermined link or a failed link.
G.8032 Version 2 provides enhancements in support of multiple ring and ladder topologies. G.8032 offers a rapid detection and recovery time if a link or node.
This guide contains topologies and examples on how to configure g8032 ERPS configuration.
Topology
Figure 13-22 displays a sample Ring Protection topology on which protection switching is configured with four bridges. The Ring Protection Link (RPL) owner is the link between Bridge 3 and Bridge 4 (xe16), on which one side of the link is defined explicitly as RPL owner (Bridge 4) and RPL neighbor (Bridge 3). The rest of the bridges are explicitly configured RPL non owner to enable ERPS in the ring.
Major Ring Topology
Prerequisite
Configure below hardware-profile commands related to CFM in configuration mode and reboot the nodes.
hardware-profile filter cfm-domain-name-str enable
hardware-profile statistics cfm-ccm enable
Bridge 1
 
Bridge1#configure terminal
Enter configure mode
Bridge1(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge1(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge1(config-vlan)#interface xe6
Configure interface xe6
Bridge1(config-if)#switchport
Configure xe6 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe6 interface
Bridge1(config-if)#interface xe8
Configure interface xe8
Bridge1(config-if)#switchport
Configure xe8 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe8 interface
Bridge1(config-if)#ethernet cfm domain-type character-string domain-name nod12 level 7 mip-creation none
Create cfm domain with type as character string with name nod12 and set MIP creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982
Bridge1(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge1(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 12 active true xe8
Create down MEP 12 for xe8 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 21
Configure crosscheck to remote MEP with value 21
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable cc interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod41 level 7 mip-creation none
Create cfm domain with type as character string with name nod41 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge1(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge1(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 14 active true xe6
Create down MEP 14 for xe6 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 41
Configure crosscheck to remote MEP with value 41
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge1(g8032-ring-config)#east-interface xe6
Associate xe6 interface as east-interface
Bridge1(g8032-ring-config)#west-interface xe8
Associate xe8 interface as west-interface
Bridge1(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge1(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge1(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge1(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge1(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge1(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge1(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge1(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge1(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge1(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge1(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge1(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 2
 
Bridge2#config terminal
Enter configure mode
Bridge2(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge2(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge2(config)#vlan database
Configure VLAN database
Bridge2(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge2(config-vlan)#interface xe3
Configure interface xe3
Bridge2(config-if)#switchport
Configure xe3 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe3 interface
Bridge2(config-if)#interface xe8
Configure interface xe8
Bridge2(config-if)#switchport
Configure xe8 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe8 interface
Bridge2(config-if)#ethernet cfm domain-type character-string domain-name nod23 level 7 mip-creation none
Create cfm domain with type as character string with name nod23 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 23 active true local-vid 200 xe3
Create down MEP 23 with local VID 200 for xe3 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 32
Configure crosscheck to remote MEP with value 32
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge2(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod12 level 7 mip-creation none
Create CFM domain with type as character string with name nod12 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 21 active true xe8
Create down MEP 21 for xe8 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 12
Configure crosscheck to remote MEP with value 12
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge2(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge2(g8032-ring-config)#east-interface xe8
Associate xe8 interface as east-interface
Bridge2(g8032-ring-config)#west-interface xe3
Associate xe3 interface as west-interface
Bridge2(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge2(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge2(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge2(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge2(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge2(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge2(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge2(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge2(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge2(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge2(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge2(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 3
 
Bridge3#config terminal
Enter configure mode
Bridge3(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge3(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge3(config)#vlan database
Configure VLAN database
Bridge3(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge3(config-vlan)#interface xe3
Configure interface xe3
Bridge3(config-if)#switchport
Configure xe3 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe3 interface
Bridge3(config-if)#interface xe16
Configure interface xe16
Bridge3(config-if)#switchport
Configure xe16 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe16 interface
Bridge3(config-if)#ethernet cfm domain-type character-string domain-name nod23 level 7 mip-creation none
Create cfm domain with type as character string with name nod23 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 32 active true xe3
Create down MEP 32 for xe3 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 23
Configure crosscheck to remote MEP with value 23
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod34 level 7 mip-creation none
Create cfm domain with type as character string with name nod34 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 34 active true xe16
Create down MEP 34 for xe16 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 43
Configure crosscheck to remote MEP with value 43
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge3(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge3(g8032-ring-config)#east-interface xe3
Associate xe3 interface as east-interface
Bridge3(g8032-ring-config)#west-interface xe16
Associate xe16 interface as west-interface
Bridge3(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge3(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge3(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge3(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge3(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge3(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge3(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge3(g8032-config-switch)#rpl role neighbor west-interface
Configure RPL node as neighbor node on west-interface
Bridge3(g8032-config-switch)#g8032-profile profile1
Associate profile profile1 to erp1 instance
Bridge3(g8032-config-switch)#aps-chanel level 7
Configure level as 7
Bridge3(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge3(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge3(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 4
 
Bridge4#config term
Enter configure mode
Bridge4(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge4(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge4(config)#vlan database
Configure VLAN database
Bridge4(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge4(config-vlan)#interface xe6
Configure interface xe6
Bridge4(config-if)#switchport
Configure xe6 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe6 interface
Bridge4(config-if)#interface xe16
Configure interface xe16
Bridge4(config-if)#switchport
Configure xe16 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe16 interface
Bridge4(config-if)#ethernet cfm domain-type character-string domain-name nod34 level 7 mip-creation none
Create cfm domain with type as character string with name nod34 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 43 active true xe16
Create down MEP 43 for xe16 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 34
Configure crosscheck to remote MEP with value 34
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge4(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod41 level 7 mip-creation none
Create CFM domain with type as character string with name nod41 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 41 active true xe6
Create down MEP 41 for xe6 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 14
Configure crosscheck to remote MEP with value 14
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#g8032 ring RING1
Create g8032 physical ring with name RING1
Bridge4(g8032-ring-config)#east-interface xe16
Associate xe16 interface as east-interface
Bridge4(g8032-ring-config)#west-interface xe6
Associate xe6 interface as west-interface
Bridge4(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge4(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge4(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge4(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge4(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge4(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge4(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge4(g8032-config-switch)#rpl role owner east-interface
Configure the node as owner node on east-interface
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge4(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge4(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge4(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit g8032 erp instance mode
Validation
Bridge1:
show g8032 aps-statistics erp1
 
Instance : erp1
==========
Tx : 3205
Rx : 27
 
show g8032 ring RING1
 
Ring : RING1
===============
Description :
East : xe16
West : xe6
ERP Inst : erp1
 
show g8032 profile profile1
 
Profile : profile1
=========
Wait-To-Restore : 1 mins
Hold Off Timer : 0.00 secs
Guard Timer : 10 ms
Wait-To-Block : 5010 ms
Protection Type : Revertive
 
Bridge1:
show g8032 erp-instance erp1
 
Inst Name : erp7
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 3c:2c:99:26:e6:80
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe6 xe8
State : Unblocked Unblocked
Remote NodeId : 34:17:eb:e4:af:11 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : nod41 nod12
MEP ID : 14 12
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge2:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : d8:9e:f3:5e:f8:29
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe8 xe3
State : Unblocked Unblocked
Remote NodeId : 34:17:eb:e4:af:11 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : nod12 nod23
MEP ID : 21 23
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
sBridge3:
show g8032 erp-instance erp1
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NEIGHBOR (WEST)
Node ID : 3c:2c:99:1a:da:7d
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe3 xe16
State : Unblocked Blocked
Remote NodeId : 34:17:eb:e4:af:11 34:17:eb:e4:af:11
Remote BPR : 1 1
Endpoint Info
-------------
Domain Name : nod23 nod34
MEP ID : 32 34
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge4:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : OWNER (EAST)
Node ID : 34:17:eb:e4:af:11
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe16 xe6
State : Blocked Unblocked
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : nod34 nod41
MEP ID : 43 41
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
Sub-ring with Virtual Channel
An ethernet ring that is connected to a Major Ring at the Interconnection Nodes. By itself, the Sub-Ring does not constitute a closed ring. A Sub-Ring is connected to the Interconnection nodes on only one port which is configured as east-interface.
Topology
Figure 13-23 displays a sample Ring Protection topology on which protection switching is configured with six bridges. This constitutes of one major ring (Bridge2, Bridge3, Bridge4 and Bridge 5) and one sub-ring (Bridge2, Bridge1, Bridge6 and Bridge5).
Major ring’s RPL in enabled between Bridge 3(owner node) and Bridge 4(neighbor node) on xe4 and other devices are non-owner nodes for that ring. Sub-ring’s RPL is enabled between bridge 1(owner node) and bridge 2 (neighbor node) on link xe2 and other devices on the non-owner nodes. Bridge 2 and Bridge 5 are called interconnected nodes since they are common node between major ring and subring. Virtual channel is enabled for this Subring on interconnected nodes on vlan 100 and tcn propagation is enabled.
Major ring and Sub-ring with Virtual Channel Topology
Configuration
Bridge 1
 
Bridge1#config term
Enter configure mode
Bridge1(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#vlan database
Configure VLAN database
Bridge1(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge1(config)#interface ce49
Configure interface ce49
Bridge1(config-if)#switchport
Configure ce49 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on ce49 interface
Bridge1(config-if)#interface xe2
Configure interface xe2
Bridge1(config-if)#switchport
Configure xe2 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe2 interface
Bridge1(config-if)#ethernet cfm domain-type character-string domain-name 00061 level 7 mip-creation none
Create cfm domain with type as character string with name 00061 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982.
Bridge1(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge1(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 16 active true ce49
Create down MEP 16 for ce49 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 61
Configure crosscheck to remote MEP with value 61
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge1(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00012 level 7 mip-creation none
Create CFM domain with type as character string with name 00012 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982
Bridge1(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge1(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 12 active true xe2
Create down MEP 12 for xe2 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 21
Configure crosscheck to remote MEP with value 21
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#g8032 ring subring
Create g8032 ring with name subring
Bridge1(g8032-ring-config)#east-interface ce49
Associate ce49 interface as east-interface
Bridge1(g8032-ring-config)#west-interface xe2
Associate xe2 interface as west-interface
Bridge1(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge1(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge1(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge1(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge1(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge1(g8032-profile-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge1(g8032-config-switch)#ring-type sub-ring-vc
Configure ring type as subring virtual channel
Bridge1(g8032-config-switch)#ring subring
Associate ring subring to erp2 instance
Bridge1(g8032-config-switch)#rpl role owner west-interface
Configure the node as owner node on west-interface
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge1(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge1(g8032-config-switch)#aps-channel vlan 201
Configure RAPS channel vlan as 201
Bridge1(g8032-config-switch)#data vlan 202-205
Configure traffic vlan from 202-205
Bridge1(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 2
 
Bridge2#config term
Enter configure mode
Bridge2(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#vlan database
Configure VLAN database
Bridge2(config-vlan)#vlan 100 bridge 1 state enable
Create VLAN 100 on bridge 1
Bridge2(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge2(config)#interface xe2
Configure interface xe2
Bridge2(config-if)#switchport
Configure xe2 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe2 interface
Bridge2(config-if)#interface xe6
Configure interface xe6
Bridge2(config-if)#switchport
Configure xe6 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe6 interface
Bridge2(config-if)#interface xe8
Configure interface xe8
Bridge2(config-if)#switchport
Configure xe8 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe8 interface
Bridge2(config-if)#ethernet cfm domain-type character-string domain-name 00012 level 7 mip-creation none
Create cfm domain with type as character string with name 00012 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge2(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge2(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 21 active true xe2
Create down MEP 21 for xe2 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 12
Configure crosscheck to remote MEP with value 12
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00052 level 7 mip-creation none
Create cfm domain with type as character string with name 00052 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 25 active true xe6
Create down MEP 25 for xe6 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 52
Configure crosscheck to remote MEP with value 52
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00023 level 7 mip-creation none
Create CFM domain with type as character string with name 00023 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 23 active true xe8
Create down MEP 23 for xe8 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 32
Configure crosscheck to remote MEP with value 32
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge2(config-ether-cfm)#g8032 ring ring
Create g8032 ring with name ring on bridge 1
Bridge2(g8032-ring-config)#east-interface xe6
Associate xe6 interface as east-interface
Bridge2(g8032-ring-config)#west-interface xe8
Associate xe8 interface as west-interface
Bridge2(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge2(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge2(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge2(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge2(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge2(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge2(g8032-config-switch)#ring ring
Associate ring RING1 to erp1 instance
Bridge2(g8032-config-switch)#ring-type major-ring
Configure ring-type as major ring
Bridge2(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge2(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge2(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge2(g8032-config-switch)#data vlan 202-205, 100
Configure traffic vlan from 202-205, 100
Bridge2(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge2(g8032-config-switch)#g8032 ring subring
Create g8032 ring with name subring
Bridge2(g8032-ring-config)#east-interface xe2
Associate xe2 interface as east-interface
Bridge2(g8032-ring-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge2(g8032-config-switch)#ring-type sub-ring-vc
Configure ring-type as sub-ring virtual channel
Bridge2(g8032-config-switch)#ring subring
Associate ring RING1 to erp2 instance
Bridge2(g8032-config-switch)#rpl role neighbor east-interface
Configure the node as neighbor node on east interface
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge2(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge2(g8032-config-switch)#aps-channel vlan 201
Configure RAPS channel vlan as 201
Bridge2(g8032-config-switch)#data vlan 202-205
Configure traffic vlan from 202-205
Bridge2(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge2(g8032-config-switch)#virtual-channel 100 attached-to-instance erp1
Configure virtual channel with vlan 100 and attach erp2 to erp1
Bridge1(g8032-config-switch)# enable-tcn-propagation
Enable tcn propagation
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 3
 
Bridge3#config term
Enter configure mode
Bridge3(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge3(config)#vlan database
Configure VLAN database
Bridge3(config-vlan)#vlan 100 bridge 1 state enable
Create VLAN 100 on bridge 1
Bridge3(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge3(config)#interface xe8
Configure interface xe8
Bridge3(config-if)#switchport
Configure xe8 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe8 interface
Bridge3(config-if)#interface xe4
Configure interface xe4
Bridge3(config-if)#switchport
Configure xe4 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 100,200-205
Allow VLAN 100,200-205 on xe4 interface
Bridge3(config-if)#ethernet cfm domain-type character-string domain-name 00023 level 7 mip-creation none
Create CFM domain with type as character string with name 00023 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 32 active true xe8
Create down MEP 32 for xe8 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 23
Configure crosscheck to remote MEP with value 23
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge3(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00034 level 7 mip-creation none
Create cfm domain with type as character string with name 00034 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 34 active true xe4
Create down MEP 34 for xe4 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 43
Configure crosscheck to remote MEP with value 43
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-ether-cfm)#g8032 ring ring
Create g8032 ring with name ring
Bridge3(g8032-ring-config)#east-interface xe8
Associate xe8 interface as east-interface
Bridge3(g8032-ring-config)#west-interface xe4
Associate xe4 interface as west-interface
Bridge3(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge3(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge3(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge3(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge3(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge3(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge3(g8032-config-switch)#ring ring
Associate ring ring to erp1 instance
Bridge3(g8032-config-switch)#ring-type major-ring
Configure ring-type as major ring
Bridge3(g8032-config-switch)#rpl role owner west-interface
Configure the node as owner node on west interface
Bridge3(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge3(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge3(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge3(g8032-config-switch)#data vlan 202-205,100
Configure traffic vlan from 202-205, 100
Bridge3(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 4
 
Bridge4#config term
Enter configuration mode
Bridge4(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge4(config)#vlan database
Configure VLAN database
Bridge5(config-vlan)#vlan 100 bridge 1 state enable
Create VLAN 100 on bridge 1
Bridge4(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge4(config)#interface xe4
Configure interface xe4
Bridge4(config-if)#switchport
Configure xe4 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe4 interface
Bridge4(config-if)#interface xe16
Configure interface xe16
Bridge4(config-if)#switchport
Configure xe4 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe16 interface
Bridge4(config-if)#ethernet cfm domain-type character-string domain-name 00034 level 7 mip-creation none
Create cfm domain with type as character string with name 00023 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 43 active true xe4
Create down MEP 43 for xe4 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 34
Configure crosscheck to remote MEP with value 34
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00045 level 7 mip-creation none
Create cfm domain with type as character string with name 00045 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 45 active true xe16
Create down MEP 45 for xe16 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 54
Configure crosscheck to remote MEP with value 54
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet MA mode
Bridge4(config-ether-cfm)#g8032 ring ring
Create g8032 ring with name ring
Bridge4(g8032-ring-config)#east-interface xe4
Associate xe4 interface as east-interface
Bridge4(g8032-ring-config)#west-interface xe16
Associate xe16 interface as west-interface
Bridge4(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge4(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge4(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge4(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge4(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge4(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge4(g8032-config-switch)#ring-type major-ring
Configure ring-type as major ring
Bridge4(g8032-config-switch)#ring ring
Associate ring ring to erp1 instance
Bridge4(g8032-config-switch)#rpl role neighbor east-interface
Configure the node as neighbor node on east interface
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge4(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge4(g8032-config-switch)#data vlan 202-205, 100
Configure traffic vlan from 202-205, 100
Bridge4(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 5
 
Bridge5#config term
Enter configure mode
Bridge5(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#vlan database
Configure VLAN database
Bridge5(config-vlan)#vlan 100 bridge 1 state enable
Create VLAN 100 on bridge 1
Bridge5(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge5(config)#interface xe16
Configure interface xe16
Bridge5(config-if)#switchport
Configure xe16 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe16 interface
Bridge5(config-if)#interface xe6
Configure interface xe6
Bridge5(config-if)#switchport
Configure xe6 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe6 interface
Bridge5(config-if)#interface xe17
Configure interface xe17
Bridge5(config-if)#switchport
Configure xe17 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 100,200-205
Allow vlan 100,200-205 on xe17 interface
Bridge5(config-if)#ethernet cfm domain-type character-string domain-name 00045 level 7 mip-creation none
Create cfm domain with type as character string with name 00045 and set mip creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge5(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge5(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 54 active true xe16
Create down MEP 54 for xe16 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM ma-mep mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 45
Configure crosscheck to remote MEP with value 45
Bridge5(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00052 level 7 mip-creation none
Create cfm domain with type as character string with name 00052 and set mip creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982
Bridge5(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge5(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 52 active true xe6
Create down MEP 52 for xe6 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 25
Configure crosscheck to remote MEP with value 25
Bridge5(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00056 level 7 mip-creation none
Create cfm domain with type as character string with name 00056 and set mip creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge5(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge5(config-ether-cfm-ma)# mip-creation none
Set mip-creation criteria to none
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 56 active true xe17
Create down MEP 56 for xe17 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 65
Configure crosscheck to remote MEP with value 65
Bridge5(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#g8032 ring ring
Create g8032 ring with name ring
Bridge5(g8032-ring-config)#east-interface xe16
Associate xe16 interface as east-interface
Bridge5(g8032-ring-config)#west-interface xe6
Associate xe6 interface as west-interface
Bridge5(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge5(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge5(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge5(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge5(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge5(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge5(g8032-config-switch)#ring ring
Associate ring ring to erp1 instance
Bridge5(g8032-config-switch)#ring-type major-ring
Configure ring-type as major ring
Bridge5(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge5(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge5(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge5(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge5(g8032-config-switch)#data vlan 202-205,100
Configure traffic vlan from 202-205, 100
Bridge5(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge5(g8032-config-switch)#g8032 ring subring
Create g8032 physical ring with name subring
Bridge5(g8032-ring-config)#east-interface xe17
Associate xe17 interface as east-interface
Bridge5(g8032-profile-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge5(g8032-config-switch)#ring-type sub-ring-vc
Configure ring-type as sub-ring virtual channel
Bridge5(g8032-config-switch)#ring subring
Associate ring subring to erp2 instance
Bridge5(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge5(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge5(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge5(g8032-config-switch)#aps-channel vlan 201
Configure RAPS channel vlan as 201
Bridge5(g8032-config-switch)#data vlan 202-205
Configure traffic vlan from 202-205
Bridge5(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge5(g8032-config-switch)#virtual-channel 100 attached-to-instance erp1
Configure virtual channel with vlan 100 and attach erp2 to erp1
Bridge5(g8032-config-switch)# enable-tcn-propagation
Enable tcn propagation
Bridge5(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge5(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 6
 
Bridge6#config term
Enter configuration mode
Bridge6(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#vlan database
Configure VLAN database
Bridge6(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge6(config-vlan)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge6(config)#interface xe0
Configure interface xe0
Bridge6(config-if)#switchport
Configure xe0 as a layer 2 port
Bridge6(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge6(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge6(config-if)#switchport mode trunk
Configure port as trunk port
Bridge6(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on xe0 interface
Bridge6(config-if)#interface ce0
Configure interface ce0
Bridge6(config-if)#switchport
Configure ce0 as a layer 2 port
Bridge6(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge6(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge6(config-if)#switchport mode trunk
Configure port as trunk port
Bridge6(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on ce0 interface
Bridge6(config-if)#ethernet cfm domain-type character-string domain-name 00056 level 7 mip-creation none
Create cfm domain with type as character string with name 00056 and set mip creation criteria to default with level 7
Bridge6(config-ether-cfm)#service ma-type string ma-name 43982
Create MA type as string with name 43982.
Bridge6(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge6(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge6(config-ether-cfm-ma)#ethernet cfm mep down mpid 65 active true xe0
Create down MEP 65 for xe0 interface
Bridge6(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge6(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge6(config-ether-cfm-ma)#mep crosscheck mpid 56
Configure crosscheck to remote MEP with value 56
Bridge6(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge6(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge6(config-ether-cfm)#ethernet cfm domain-type character-string domain-name 00061 level 7 mip-creation none
Create cfm domain with type as character string with name 00061 and set mip creation criteria to default with level 7
Bridge6(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge6(config-ether-cfm-ma)# vlan 201 bridge 1
Add VLAN 201
Bridge6(config-ether-cfm-ma)# mip-creation none
Set MIP-creation criteria to none
Bridge6(config-ether-cfm-ma)#ethernet cfm mep down mpid 61 active true ce0
Create down MEP 61 for ce0 interface
Bridge6(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge6(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge6(config-ether-cfm-ma)#mep crosscheck mpid 16
Configure crosscheck to remote MEP with value 16
Bridge6(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge6(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge6(config-ether-cfm)#g8032 ring subring
Create g8032 physical ring with name subring
Bridge6(g8032-ring-config)#east-interface xe0
Associate xe0 interface as east-interface
Bridge6(g8032-ring-config)#west-interface ce0
Associate ce0 interface as west-interface
Bridge6(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge6(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge6(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge6(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge6(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge6(g8032-profile-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge6(g8032-config-switch)#ring-type sub-ring-vc
Configure ring type as subring virtual channel
Bridge6(g8032-config-switch)#ring subring
Associate ring subring to erp2 instance
Bridge6(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge6(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge6(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge6(g8032-config-switch)#aps-channel vlan 201
Configure RAPS channel vlan as 201
Bridge6(g8032-config-switch)#data-traffic-vlan 202-205
Configure traffic vlan from 202-205
Bridge6(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge6(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge6(g8032-config-switch)#end
Exit g8032 erp instance mode
Validation
Bridge1#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : subring
Ring Type : SUB-RING (VIRTUAL)
Role : OWNER (WEST)
Node ID : 6c:b9:c5:67:72:1d
----------------------------------------------------------
East Link West Link
==========================================================
Interface : ce49 xe2
State : Unblocked Blocked
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : 00061 00012
MEP ID : 16 12
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 201, 1) |
===========================
 
DataTraffic vlan: 202-205
Profile : profile1
 
 
Bridge2#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : subring
Ring Type : SUB-RING (VIRTUAL)
Role : NEIGHBOR (EAST)
Node ID : 3c:2c:99:26:e6:7c
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe2 -
State : Blocked -
Remote NodeId : 6c:b9:c5:67:72:1d -
Remote BPR : 0 -
Endpoint Info
-------------
Domain Name : 00012 -
MEP ID : 21 -
MA Name : 43982 -
==========================================================
TCN Propagation : Enabled
Attached : -
Attached To : erp1,
Virtual ID : 100 : 1
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 201, 1) |
===========================
 
DataTraffic vlan: 202-205
Profile : profile1
 
 
Bridge2#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : ring
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 3c:2c:99:26:e6:80
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe6 xe8
State : Unblocked Unblocked
Remote NodeId : - d8:9e:f3:5e:f8:29
Remote BPR : - 0
Endpoint Info
-------------
Domain Name : 00052 00023
MEP ID : 25 23
MA Name : 43982 43982
==========================================================
TCN Propagation : Disabled
Attached : erp2,
Attached To : -
Virtual ID : -:-
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 202-205,100
Profile : profile1
 
 
Bridge3#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : ring
Ring Type : MAJOR-RING
Role : OWNER (WEST)
Node ID : d8:9e:f3:5e:f8:29
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe8 xe4
State : Unblocked Blocked
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : 00023 00034
MEP ID : 32 34
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 202-205,100
Profile : profile1
 
 
Bridge4#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : ring
Ring Type : MAJOR-RING
Role : NEIGHBOR (EAST)
Node ID : 3c:2c:99:1a:da:7e
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe4 xe16
State : Blocked Unblocked
Remote NodeId : d8:9e:f3:5e:f8:29 d8:9e:f3:5e:f8:29
Remote BPR : 0 0
Endpoint Info
-------------
Domain Name : 00034 00045
MEP ID : 43 45
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 202-205,100
Profile : profile1
 
 
Bridge5#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : subring
Ring Type : SUB-RING (VIRTUAL)
Role : NON-OWNER
Node ID : 34:17:eb:e4:af:12
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe17 -
State : Unblocked -
Remote NodeId : 6c:b9:c5:67:72:1d -
Remote BPR : 0 -
Endpoint Info
-------------
Domain Name : 00056 -
MEP ID : 56 -
MA Name : 43982 -
==========================================================
TCN Propagation : Enabled
Attached : -
Attached To : erp1,
Virtual ID : 100 : 1
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 201, 1) |
===========================
 
DataTraffic vlan: 202-205
Profile : profile1
 
 
Bridge5#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : ring
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 34:17:eb:e4:af:11
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe16 xe6
State : Unblocked Unblocked
Remote NodeId : - d8:9e:f3:5e:f8:29
Remote BPR : - 0
Endpoint Info
-------------
Domain Name : 00045 00052
MEP ID : 54 52
MA Name : 43982 43982
==========================================================
TCN Propagation : Disabled
Attached : erp2,
Attached To : -
Virtual ID : -:-
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 202-205,100
Profile : profile1
 
 
Bridge6#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : subring (VIRTUAL)
Ring Type : SUB-RING
Role : NON-OWNER
Node ID : b8:6a:97:d2:27:c6
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe0 ce0
State : Unblocked Unblocked
Remote NodeId : - 6c:b9:c5:67:72:1d
Remote BPR : - 0
Endpoint Info
-------------
Domain Name : 00056 00061
MEP ID : 65 61
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 201, 1) |
===========================
 
DataTraffic vlan: 202-205
Profile : profile1
 
Sub-ring without Virtual Channel on a LAG interface
Figure 3 displays a sample Ring Protection topology on which protection switching is configured with 5 bridges on lag interfaces. The topology contains one major ring and one subring with non-virtual channel. The Ring Protection Link (RPL) for major ring is the link between Bridge 4 (owner) and Bridge 3 (neighbor) on lag interface po3. The subring is configured with no virtual channel and it’s RPL link is configured between bridge 1 (neighbor) and bridge 5 (owner) on lag interface po6. The rest of the bridges are explicitly configured RPL non owner to enable ERPS in the ring in both major and subring.
Topology
Figure 13-24 displays a sample Ethernet Ring Protection Switching topology.
Major ring and sub-ring topology using LAG interface without a virtual channel
Configuration
Bridge 1
 
Bridge1#config term
Enter configure mode
Bridge1(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge1(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge1(config-vlan)#interface po1
Configure lag interface po1
Bridge1(config-if)#switchport
Configure po1 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po1 interface
Bridge1(config-if)#interface po4
Configure lag interface po4
Bridge1(config-if)#switchport
Configure po4 as a layer 2 port
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Configure interface in bridge group 1
Bridge1(config-if)#switchport mode trunk
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po4 interface
Bridge1(config-if)#interface po6
Configure lag interface po6
Bridge1(config-if)#switchport
Configure po6 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po6 interface
Bridge1(config-if)#interface xe1
Configure interface xe1
Bridge1(config-if)#channel-group 6 mode active
Configure xe1 as part of po6
Bridge1(config-if)#interface xe2
Configure interface xe2
Bridge1(config-if)#channel-group 6 mode active
Configure xe2 as part of po6
Bridge1(config-if)#interface xe6
Configure interface xe6
Bridge1(config-if)#channel-group 4 mode active
Configure xe6 as part of po4
Bridge1(config-if)#interface xe7
Configure interface xe7
Bridge1(config-if)#channel-group 4 mode active
Configure xe7 as part of po4
Bridge1(config-if)#interface xe8
Configure interface xe8
Bridge1(config-if)#channel-group 1 mode active
Configure xe8 as part of po1
Bridge1(config-if)#interface xe9
Configure interface xe9
Bridge1(config-if)#channel-group 1 mode active
Configure xe9 as part of po1
Bridge1(config-if)#ethernet cfm domain-type character-string domain-name nod12 level 7 mip-creation none
Create cfm domain with type as character string with name nod12 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge1(config-ether-cfm-ma)# vlan 200 bridge 1
Add vlan 200
Bridge1(config-ether-cfm-ma)#mip-creation none
Set mip-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 12 active true po1
Create down mep 12 for po1 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 21
Configure crosscheck to remote MEP with value 21
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod41 level 7 mip-creation none
Create cfm domain with type as character string with name nod41 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge1(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge1(config-ether-cfm-ma)#mip-creation none
Set mip-creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 14 active true po4
Create down MEP 14 for po4 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM ma-mep mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 41
Configure crosscheck to remote MEP with value 41
Bridge1(config-ether-cfm-ma)#cc interval 23ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod15 level 7 mip-creation none
Create cfm domain with type as character string with name nod15 and set mip creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge1(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge1(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 51 active true po6
Create down mep 51 for po6 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 15
Configure crosscheck to remote MEP with value 15
Bridge1(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#g8032 ring lagring
Create g8032 ring with name lagring
Bridge1(g8032-ring-config)#east-interface po4
Associate po4 interface as east-interface
Bridge1(g8032-ring-config)#west-interface po1
Associate po1 interface as west-interface
Bridge1(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge1(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge1(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge1(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge1(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge1(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge1(g8032-config-switch)#ring lagring
Associate ring lagring to erp1 instance
Bridge1(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge1(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge1(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge1(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge1(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge1(g8032-config-switch)#g8032 ring lagsubring
Create g8032 ring with name lagsubring
Bridge1(g8032-ring-config)#east-interface po6
Associate po6 interface as east-interface
Bridge1(g8032-ring-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge1(g8032-config-switch)#ring-type sub-ring
Configure ring-type as sub-ring
Bridge1(g8032-config-switch)#ring lagsubring
Associate ring lagsubring to erp2 instance
Bridge1(g8032-config-switch)#rpl role neighbor east-interface
Configure the node as neighbor node on east interface
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge1(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge1(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge1(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge1(g8032-config-switch)#ring-id 2
Configure ring-id as 2
Bridge1(g8032-config-switch)#non-virtual-channel
Enable Non Virtual Channel
Bridge1(g8032-config-switch)# enable-tcn-propagation
Enable tcn propagation
Bridge1(g8032-config-switch)# tcn-to-instance erp1
Attach erp1 instance to erp2 instance to notify any changes in subring to major ring
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 2
 
Bridge2#config term
Enter configure mode
Bridge2(config)#hardware-profile filter cfm-domain-name-str enable
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge2(config)#bridge 1 protocol rstp vlan-bridge
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge2(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge2(config-vlan)#interface po1
Configure lag interface po1
Bridge2(config-if)#switchport
Configure po1 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po1 interface
Bridge2(config-if)#interface po2
Configure lag interface po2
Bridge2(config-if)#switchport
Configure po2 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po2 interface
Bridge2(config-if)#interface xe8
Configure interface xe8
Bridge2(config-if)#channel-group 1 mode active
Configure xe8 as part of po1
Bridge2(config-if)#interface xe9
Configure interface xe9
Bridge2(config-if)#channel-group 1 mode active
Configure xe9 as part of po1
Bridge2(config-if)#interface xe3
Configure interface xe3
Bridge2(config-if)#channel-group 2 mode active
Configure xe3 as part of po2
Bridge2(config-if)#interface xe4
Configure interface xe4
Bridge2(config-if)#channel-group 2 mode active
Configure xe4 as part of po2
Bridge2(config-if)#ethernet cfm domain-type character-string domain-name nod12 level 7 mip-creation none
Create cfm domain with type as character string with name nod12 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 21 active true po1
Create down mep 21 for po1 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 12
Configure crosscheck to remote MEP with value 12
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod23 level 7 mip-creation none
Create cfm domain with type as character string with name nod23 and set mip creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge2(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge2(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 23 active true po2
Create down mep 23 for po2 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 32
Configure crosscheck to remote MEP with value 32
Bridge2(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#g8032 ring lagring
Create g8032 ring with name lagring
Bridge2(g8032-ring-config)#east-interface po1
Associate po1 interface as east-interface
Bridge2(g8032-ring-config)#west-interface po2
Associate po2 interface as west-interface
Bridge2(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge2(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge2(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge2(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge2(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge2(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge2(g8032-config-switch)#ring lagring
Associate ring lagring to erp1 instance
Bridge2(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge2(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge2(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge2(g8032-config-switch)#data van 201-205
Configure traffic vlan from 201-205
Bridge2(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 3
 
Bridge3#config term
Enter configuration mode
Bridge3(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge3(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge3(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge3(config-vlan)#interface po2
Configure lag interface po2
Bridge3(config-if)#switchport
Configure po2 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po2 interface
Bridge3(config-if)#interface po3
Configure lag interface po3
Bridge3(config-if)#switchport
Configure po3 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po3 interface
Bridge3(config-if)#interface xe3
Configure interface xe3
Bridge3(config-if)#channel-group 2 mode active
Configure xe3 as part of po2
Bridge3(config-if)#interface xe4
Configure interface xe4
Bridge3(config-if)#channel-group 2 mode active
Configure xe4 as part of po2
Bridge3(config-if)#interface xe15
Configure interface xe3
Bridge3(config-if)#channel-group 3 mode active
Configure xe3 as part of po3
Bridge3(config-if)#interface xe16
Configure interface xe16
Bridge3(config-if)#channel-group 3 mode active
Configure xe16 as part of po3
Bridge3(config-if)#ethernet cfm domain-type character-string domain-name nod23 level 7 mip-creation none
Create cfm domain with type as character string with name nod23 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 32 active true po2
Create down mep 32 for po2 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 23
Configure crosscheck to remote MEP with value 23
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod34 level 7 mip-creation none
Create cfm domain with type as character string with name nod34 and set mip creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge3(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge3(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 34 active true po3
Create down mep 34 for po3 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 43
Configure crosscheck to remote MEP with value 43
Bridge3(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-ether-cfm)#g8032 ring lagring
Create g8032 physical ring with name lagring
Bridge3(g8032-ring-config)#east-interface po2
Associate po2 interface as east-interface
Bridge3(g8032-ring-config)#west-interface po3
Associate po3 interface as west-interface
Bridge3(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge3(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge3(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge3(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge3(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge3(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge3(g8032-config-switch)#ring lagring
Associate ring lagring to erp1 instance
Bridge3(g8032-config-switch)#rpl role neighbor west-interface
Configure the node as neighbor node on west interface
Bridge3(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge3(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge3(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge3(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge3(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 4
 
Bridge4#config term
Enter configure mode
Bridge4(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge4(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge4(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge4(config-vlan)#interface po3
Configure lag interface po3
Bridge4(config-if)#switchport
Configure po3 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po3 interface
Bridge4(config-if)#interface po4
Configure lag interface po4
Bridge4(config-if)#switchport
Configure po4 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po4 interface
Bridge4(config-if)#interface po5
Configure lag interface po5
Bridge4(config-if)#switchport
Configure po5 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po5 interface
Bridge4(config-if)#interface xe6
Configure interface xe6
Bridge4(config-if)#channel-group 4 mode active
Configure xe6 as part of po4
Bridge4(config-if)#interface xe7
Configure interface xe7
Bridge4(config-if)#channel-group 4 mode active
Configure xe7 as part of po4
Bridge4(config-if)#interface xe10
Configure interface xe10
Bridge4(config-if)#channel-group 5 mode active
Configure xe10 as part of po5
Bridge4(config-if)#interface xe11
Configure interface xe11
Bridge4(config-if)#channel-group 5 mode active
Configure xe11 as part of po5
Bridge4(config-if)#interface xe15
Configure interface xe15
Bridge4(config-if)#channel-group 3 mode active
Configure xe15 as part of po3
Bridge4(config-if)#interface xe16
Configure interface xe16
Bridge4(config-if)#channel-group 3 mode active
Configure xe16 as part of po3
Bridge4(config-if)#ethernet cfm domain-type character-string domain-name nod34 level 7 mip-creation none
Create cfm domain with type as character string with name nod34 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 43 active true po3
Create down mep 43 for po3 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 34
Configure crosscheck to remote MEP with value 34
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod41 level 7 mip-creation none
Create cfm domain with type as character string with name nod41 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 41 active true po4
Create down mep 41 for po4 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 14
Configure crosscheck to remote MEP with value 14
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod45 level 7 mip-creation none
Create cfm domain with type as character string with name nod45 and set mip creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge4(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge4(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 54 active true po5
Create down mep 54 for po5 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 45
Configure crosscheck to remote MEP with value 45
Bridge4(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#g8032 ring lagring
Create g8032 ring with name lagring
Bridge4(g8032-ring-config)#east-interface po3
Associate po3 interface as east-interface
Bridge4(g8032-ring-config)#west-interface po4
Associate po4 interface as west-interface
Bridge4(g8032-ring-config)#g8032 ring lagsubring
Create g8032 ring with name lagsubring
Bridge4(g8032-ring-config)#east-interface po5
Associate po5 interface as east-interface
Bridge4(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge4(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge4(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge4(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge4(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge4(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge4(g8032-config-switch)#ring lagring
Associate ring lagring to erp1 instance
Bridge4(g8032-config-switch)#rpl role owner east-interface
Configure the node as owner node on east interface
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge4(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge4(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge4(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge4(g8032-config-switch)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge4(g8032-config-switch)#ring-type sub-ring
Configure ring-type as sub-ring
Bridge4(g8032-config-switch)#ring lagsubring
Associate ring lagsubring to erp2 instance
Bridge4(g8032-config-switch)#rpl role non-owner
Configure the node as neighbor node on east interface
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge4(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge4(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge4(g8032-config-switch)#ring-id 2
Configure ring-id as 2
Bridge4(g8032-config-switch)#non-virtual-channel
Enable Non Virtual Channel
Bridge4(g8032-config-switch)# enable-tcn-propagation
Enable tcn propagation
Bridge4(g8032-config-switch)# tcn-to-instance erp1
Attach erp1 instance to erp2 instance to notify any changes in subring to major ring
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 5
 
Bridge5#config term
Enter config mode
Bridge5(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge5(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge5(config-vlan)#vlan 200-205 bridge 1 state enable
Create VLAN 200-205 on bridge 1
Bridge5(config-vlan)#interface po5
Configure lag interface po5
Bridge5(config-if)#switchport
Configure po5 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po3 interface
Bridge5(config-if)#interface po6
Configure lag interface po3
Bridge5(config-if)#switchport
Configure po3 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 200-205
Allow vlan 200-205 on po3 interface
Bridge5(config-if)#interface xe1
Configure interface xe1
Bridge5(config-if)#channel-group 6 mode active
Configure xe1 as part of po6
Bridge5(config-if)#interface xe2
Configure interface xe2
Bridge5(config-if)#channel-group 6 mode active
Configure xe2 as part of po6
Bridge5(config-if)#interface xe10
Configure interface xe10
Bridge5(config-if)#channel-group 5 mode active
Configure xe10 as part of po5
Bridge5(config-if)#interface xe11
Configure interface xe11
Bridge5(config-if)#channel-group 5 mode active
Configure xe11 as part of po5
Bridge5(config-if)#ethernet cfm domain-type character-string domain-name nod15 level 7 mip-creation none
Create cfm domain with type as character string with name nod15 and set mip creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge5(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge5(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 15 active true po6
Create down mep 15 for po6 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 51
Configure crosscheck to remote MEP with value 51
Bridge5(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#ethernet cfm domain-type character-string domain-name nod45 level 7 mip-creation none
Create cfm domain with type as character string with name nod45 and set mip creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name 43982
Create ma type as string with name 43982
Bridge5(config-ether-cfm-ma)# vlan 200 bridge 1
Add VLAN 200
Bridge5(config-ether-cfm-ma)#mip-creation none
Set mip-creation criteria to none
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 45 active true po5
Create down mep 45 for po5 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 54
Configure crosscheck to remote MEP with value 54
Bridge5(config-ether-cfm-ma)#cc interval 100ms
Enable CC interval with 100ms
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#g8032 ring lagsubring
Create g8032 ring with name lagsubring
Bridge5(g8032-ring-config)#east-interface po5
Associate po5 interface as east-interface
Bridge5(g8032-ring-config)#west-interface po6
Associate po6 interface as west-interface
Bridge5(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge5(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge5(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge5(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge5(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge5(g8032-profile-config)#g8032 erp-instance erp2
Create g8032 erp instance erp2
Bridge5(g8032-config-switch)#ring lagsubring
Associate Physical ring lagsubring to erp2 instance
Bridge5(g8032-config-switch)#ring-type sub-ring
Configure ring-type as subring
Bridge5(g8032-config-switch)#rpl role owner west-interface
Configure the node as owner node on west interface
Bridge5(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp2 instance
Bridge5(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge5(g8032-config-switch)#aps-channel vlan 200
Configure RAPS channel vlan as 200
Bridge5(g8032-config-switch)#data vlan 201-205
Configure traffic vlan from 201-205
Bridge5(g8032-config-switch)#ring-id 2
Configure ring-id as 2
Bridge5(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge5(g8032-config-switch)#end
Exit g8032 erp instance mode
Validation
 
Bridge1#show g8032 erp-instance erp2
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : lagsubring
Ring Type : SUB-RING (NON VIRTUAL)
Role : NEIGHBOR (EAST)
Node ID : 3c:2c:99:26:e6:7b
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po6 -
State : Blocked -
Remote NodeId : 6c:b9:c5:67:72:f6 -
Remote BPR : 0 -
Endpoint Info
-------------
Domain Name : nod15 -
MEP ID : 51 -
MA Name : 43982 -
==========================================================
TCN Propagation : Enabled
TCN Propagation List: erp1,
 
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 2) |
===========================
 
Bridge1#show g8032 erp-instance erp1
 
Inst Name : erp
Description :
State : G8032_ST_IDLE
Phy Ring : lagring
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 3c:2c:99:26:e6:80
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po4 po1
State : Unblocked Unblocked
Remote NodeId : 34:17:eb:e4:af:10 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : nod41 nod12
MEP ID : 14 12
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge2#show g8032 erp-instance erp1
 
Description :
State : G8032_ST_IDLE
Phy Ring : lagring
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : d8:9e:f3:5e:f8:29
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po1 po2
State : Unblocked Unblocked
Remote NodeId : 34:17:eb:e4:af:10 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : nod12 nod23
MEP ID : 21 23
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge3#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : lagring
Ring Type : MAJOR-RING
Role : NEIGHBOR (WEST)
Node ID : 3c:2c:99:1a:da:7d
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po2 po3
State : Unblocked Blocked
Remote NodeId : 34:17:eb:e4:af:10 34:17:eb:e4:af:10
Remote BPR : 1 1
Endpoint Info
-------------
Domain Name : nod23 nod34
MEP ID : 32 34
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge4#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : lagsubring
Ring Type : SUB-RING (NON VIRTUAL)
Role : NON-OWNER
Node ID : 34:17:eb:e4:af:0b
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po5 -
State : Unblocked -
Remote NodeId : 6c:b9:c5:67:72:f6 -
Remote BPR : 0 -
Endpoint Info
-------------
Domain Name : nod45 -
MEP ID : 54 -
MA Name : 43982 -
==========================================================
TCN Propagation : Enabled
TCN Propagation List: erp1,
 
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 2) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge4#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : lagring
Ring Type : MAJOR-RING
Role : OWNER (EAST)
Node ID : 34:17:eb:e4:af:10
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po3 po4
State : Blocked Unblocked
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : nod34 nod41
MEP ID : 43 41
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge5#show g8032 erp-instance erp2
 
Inst Name : erp2
Description :
State : G8032_ST_IDLE
Phy Ring : lagsubring
Ring Type : SUB-RING
Role : OWNER (WEST)
Node ID : 6c:b9:c5:67:72:f6
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po5 po6
State : Unblocked Blocked
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : nod45 nod15
MEP ID : 45 15
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 2) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
Bridge3#show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : lagring
Ring Type : MAJOR-RING
Role : NEIGHBOR (WEST)
Node ID : 3c:2c:99:1a:da:7d
----------------------------------------------------------
East Link West Link
==========================================================
Interface : po2 po3
State : Unblocked Blocked
Remote NodeId : 34:17:eb:e4:af:10 34:17:eb:e4:af:10
Remote BPR : 1 1
Endpoint Info
-------------
Domain Name : nod23 nod34
MEP ID : 32 34
MA Name : 43982 43982
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 200, 1) |
===========================
 
DataTraffic vlan: 201-205
Profile : profile1
 
ERPS Managing Non-Data VLAN's
An Ethernet ring that is connected to a Major Ring at the Interconnection Nodes. Non-Bridged AC-VLAN’s should follow the port state (block/forward) as ERPS data VLAN’s.
User can give control for non-bridged AC_Vlans by configuring "erps-instance <id|none>". In sub-interface, user can add “erps-instance (NAME | none)” CLI. This will exclude the sub-intf/lif’s to be processed by ERPS.
Erps-instance <name>, this sub-interface will follow specified erps-instance state for non-data vlan's.
This is useful in case of multiple instances, where one instance is in forward and another is block. So non-data vlan’s has to follow specific instance configured by user. Default is lower instance id, if not configured.
Erps-instance none, this sub-interface will not managed by ERPS. (It will be always in forward state with ERPS not controlling it).
No command specified in sub-intf mode, this sub-intf/lif will be managed by ERPS and default erps-instance id will be used for LIF/sub-intf to follow the ERPS block/forward state. Default value is lower configured instance-id
Topology
displays a sample Ring Protection topology on which protection switching is configured with five bridges. This constitutes of one major ring (Bridge1, Bridge2, Bridge3, Bridge4 and Bridge 5) and MPLS/VPLS is running between Bridge4, Bridge5 and Bridge6)
Major ring running both ERPS and MPLS/VPLS between Bridge-4 and Bridge-5.
Bridge 1
 
Bridge1#configure terminal
Enter configure mode
Bridge1(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge1(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge1(config)#vlan database
Configure VLAN database
Bridge1(config-vlan)# vlan 450 bridge 1 state enable
Create VLAN 450 on bridge 1
Bridge1(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge1(config-vlan)#interface xe12
Configure interface xe12
Bridge1(config-if)#switchport
Configure xe12 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on xe12 interface
Bridge1(config-if)#interface xe20
Configure interface xe20
Bridge1(config-if)#switchport
Configure xe20 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on xe20 interface
Bridge1(config-if)#interface xe24
Configure interface xe24
Bridge1(config-if)#switchport
Configure xe24 as a layer 2 port
Bridge1(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge1(config-if)#switchport mode trunk
Configure port as trunk port
Bridge1(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on xe24 interface
Bridge1(config-if)# ethernet cfm domain-type character-string domain-name mdna1 level 7 mip-creation default
Create cfm domain with type as character string with name mdna1 and set MIP creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge1(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge1(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge1(config-ether-cfm-ma)# ethernet cfm mep down mpid 2027 active true xe12
Create down MEP 2027 for xe12 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 27
Configure crosscheck to remote MEP with value 27
Bridge1(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge1(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-if)# ethernet cfm domain-type character-string domain-name mdna2 level 7 mip-creation default
Create cfm domain with type as character string with name mdna2 and set MIP creation criteria to default with level 7
Bridge1(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge1(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge1(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge1(config-ether-cfm-ma)# ethernet cfm mep down mpid 3037 active true xe20
Create down MEP 3037 for xe20 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 37
Configure crosscheck to remote MEP with value 37
Bridge1(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge1(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge1(g8032-ring-config)#east-interface xe20
Associate xe20 interface as east-interface
Bridge1(g8032-ring-config)#west-interface xe12
Associate xe12 interface as west-interface
Bridge1(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge1(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge1(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge1(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge1(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge1(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge1(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge1(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge1(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge1(g8032-config-switch)#aps-channel vlan 900
Configure RAPS channel vlan as 900
Bridge1(g8032-config-switch)#data vlan 950
Configure traffic vlan 950
Bridge1(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 2
 
Bridge2#configure terminal
Enter configure mode
Bridge2(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge2(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge2(config)#vlan database
Configure VLAN database
Bridge2(config-vlan)# vlan 450 bridge 1 state enable
Create VLAN 450 on bridge 1
Bridge2(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge2(config-vlan)#interface ce9/1
Configure interface ce9/1
Bridge2(config-if)#switchport
Configure ce9/1 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on ce9/1 interface
Bridge2(config-if)#interface ce6/1
Configure interface ce6/1
Bridge2(config-if)#switchport
Configure ce6/1 as a layer 2 port
Bridge2(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge2(config-if)#switchport mode trunk
Configure port as trunk port
Bridge2(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on ce6/1 interface
Bridge2(config-if)# ethernet cfm domain-type character-string domain-name mdna1 level 7 mip-creation default
Create cfm domain with type as character string with name mdna1 and set MIP creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge2(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge2(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge2(config-ether-cfm-ma)# ethernet cfm mep down mpid 27 active true ce9/1
Create down MEP 27 for ce9/1 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 2027
Configure crosscheck to remote MEP with value 2027
Bridge2(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge2(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-if)# ethernet cfm domain-type character-string domain-name mdna5 level 7 mip-creation default
Create cfm domain with type as character string with name mdna5 and set MIP creation criteria to default with level 7
Bridge2(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge2(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge2(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge2(config-ether-cfm-ma)# ethernet cfm mep down mpid 6067 active true ce6/1
Create down MEP 3037 for xe20 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 67
Configure crosscheck to remote MEP with value 67
Bridge2(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge2(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1 on bridge 1
Bridge2(g8032-ring-config)#east-interface ce9/1
Associate ce9/1 interface as east-interface
Bridge2(g8032-ring-config)#west-interface ce6/1
Associate ce6/1 interface as west-interface
Bridge2(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge2(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge2(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge2(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge2(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge2(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge2(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge2(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge2(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge2(g8032-config-switch)#aps-channel vlan 900
Configure RAPS channel vlan as 900
Bridge2(g8032-config-switch)#data vlan 950
Configure traffic vlan 950
Bridge2(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 3
 
Bridge3#configure terminal
Enter configure mode
Bridge3(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge3(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge3(config)#vlan database
Configure VLAN database
Bridge3(config-vlan)# vlan 450 bridge 1 state enable
Create VLAN 450 on bridge 1
Bridge3(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge3(config-vlan)#interface ce4/1
Configure interface ce4/1
Bridge3(config-if)#switchport
Configure ce4/1 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on ce4/1 interface
Bridge3(config-if)#interface ce7/1
Configure interface ce7/1
Bridge3(config-if)#switchport
Configure ce7/1 as a layer 2 port
Bridge3(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge3(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge3(config-if)#switchport mode trunk
Configure port as trunk port
Bridge3(config-if)#switchport trunk allowed vlan add 450,900-1010
Allow vlan 450,900-1010 on ce7/1 interface
Bridge3(config-if)# ethernet cfm domain-type character-string domain-name mdna4 level 7 mip-creation default
Create cfm domain with type as character string with name mdna4 and set MIP creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge3(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge3(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge3(config-ether-cfm-ma)# ethernet cfm mep down mpid 5057 active true ce7/1
Create down MEP 5057 for ce7/1 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 57
Configure crosscheck to remote MEP with value 57
Bridge3(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge3(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-if)# ethernet cfm domain-type character-string domain-name mdna5 level 7 mip-creation default
Create cfm domain with type as character string with name mdna5 and set MIP creation criteria to default with level 7
Bridge3(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge3(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge3(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge3(config-ether-cfm-ma)# ethernet cfm mep down mpid 67 active true ce4/1
Create down MEP 67 for ce4/1 interface
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 6067
Configure crosscheck to remote MEP with value 6067
Bridge3(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge3(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge3(config-ether-cfm)#g8032 ring RING1
Create g8032 physical ring with name RING1
Bridge3(g8032-ring-config)#east-interface ce4/1
Associate ce4/1 interface as east-interface
Bridge3(g8032-ring-config)#west-interface ce7/1
Associate ce7/1 interface as west-interface
Bridge3(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge3(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge3(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge3(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge3(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge3(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge3(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge3(g8032-config-switch)#rpl role non-owner
Configure the node as non-owner node
Bridge3(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge3(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge3(g8032-config-switch)#aps-channel vlan 900
Configure RAPS channel vlan as 900
Bridge1(g8032-config-switch)#data vlan 950
Configure traffic vlan 950
Bridge3(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 4s
 
Bridge4#configure terminal
Enter configure mode
Bridge4(config)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge4(config-router)#net 49.3600.3600.0001.00
Configure net
Bridge4(config-router)#exit
End current mode and down to previous mode
Bridge4(config)#interface lo
Configure interface loopback
Bridge4(config-if)#ip address 1.1.1.1/32 secondary
Configure secondary ip address
Bridge4(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge4(config-if)#commit
Commit the candidate configuration to the running
configuration
Bridge4(config-if)#exit
End current mode and down to previous mode
Bridge4(config)#router ldp
Enable LDP protocol
Bridge4(config-router)#router-id 1.1.1.1
Set router id
Bridge4(config-router)#targeted-peer ipv4 2.2.2.2
Configure targeted peer
Bridge4(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge4(config-router)#targeted-peer ipv4 3.3.3.3
Configure targeted peer
Bridge4(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge4(config-router)#transport-address ipv4 1.1.1.1
Configure a transport address for a label space
Bridge4(config-router)#commit
Commit the candidate configuration to the running
configuration
Bridge4(config-router)#exit
End current mode and down to previous mode
Bridge4(config)#mpls vpls vpls450 450
Create an instance of MPLS based Virtual Private Lan
Service (VPLS)
Bridge4(config-vpls)#signaling ldp
Establishing pseudowires with other PE routers using ldp protocol
Bridge4(config-vpls-sig)#vpls-peer 2.2.2.2
Add a peer to VPLS domain
Bridge4(config-vpls-sig)#vpls-peer 3.3.3.3
Add a peer to VPLS domain
Bridge4(config-vpls-sig)#exit-signaling
Exit from Signaling configuration mode and start signaling
Bridge4(config-vpls)# exit-vpls
Exit from vpls mode
Bridge4(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge4(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge4(config)#vlan database
Configure VLAN database
Bridge4(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge4(config-vlan)#interface ce20
Configure interface ce20
Bridge4(config-if)#switchport
Configure ce20 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 900-1010
Allow vlan 900-1010 on ce20 interface
Bridge4(config-if)#interface interface ce20.450 switchport
Configure interface ce20.450 as L2 subinterface
Bridge4(config-if)#encapsulation dot1q 450
Configure dotq encapsulation for vlan 450 packets
Bridge4(config-if)#access-if-vpls
Enter to VPLS MPLS Access interface mode
Bridge4(config-acc-if-vpls)#mpls-vpls vpls450
Attach VPLS instance
Bridge4(config-acc-if-vpls)#exit
End current mode and down to previous mode
Bridge4(config-if)#interface xe14
Configure interface xe14
Bridge4(config-if)#switchport
Configure xe14 as a layer 2 port
Bridge4(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge4(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge4(config-if)#switchport mode trunk
Configure port as trunk port
Bridge4(config-if)#switchport trunk allowed vlan add 900-1010
Allow vlan 900-1010 on xe14 interface
Bridge4(config-if)#interface xe14.450
Configure sub-interface of xe14
Bridge4(config-if)#encapsulation dot1q 450
Configure dotq encapsulation for vlan 450 packets
Bridge4(config-if)#ip address 10.1.1.2/30
Configure ip address
Bridge4(config-if)#label-switching
Enable label-switching on interface
Bridge4(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge4(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge4(config-if)#erps-instance none
Configure erps-instance in this subinterface
Bridge4(config-if)#interface xe4
Configure interface xe24
Bridge4(config-if)#ip address 30.1.1.2/30
Configure ip address
Bridge4(config-if)#label-switching
Enable label-switching on interface
Bridge4(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge4(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge1(config-if)# ethernet cfm domain-type character-string domain-name mdna3 level 7 mip-creation default
Create cfm domain with type as character string with name mdna3 and set MIP creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge4(config-ether-cfm-ma)#vlan 900 bridge 1
Add VLAN 900
Bridge4(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge4(config-ether-cfm-ma)# ethernet cfm mep down mpid 4047 active true xe14
Create down MEP 4047 for xe14 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 47
Configure crosscheck to remote MEP with value 47
Bridge4(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge4(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-if)# ethernet cfm domain-type character-string domain-name mdna4 level 7 mip-creation default
Create cfm domain with type as character string with name mdna4 and set MIP creation criteria to default with level 7
Bridge4(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge4(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge4(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge4(config-ether-cfm-ma)# ethernet cfm mep down mpid 57 active true ce20
Create down MEP 57 for ce20 interface
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 5057
Configure crosscheck to remote MEP with value 5057
Bridge4(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge4(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge4(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge4(g8032-ring-config)#east-interface ce20
Associate ce20 interface as east-interface
Bridge4(g8032-ring-config)#west-interface xe14
Associate xe14 interface as west-interface
Bridge4(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge4(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge4(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge4(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge4(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge4(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge4(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge4(g8032-config-switch)#rpl role neighbor west-interface
Configure the node as neighbor towards west-interface
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge4(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge4(g8032-config-switch)#aps-channel vlan 900
Configure RAPS channel vlan as 900
Bridge4(g8032-config-switch)#data vlan 950
Configure traffic vlan 950
Bridge4(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit g8032 erp instance mode
Bridge 5
 
Bridge5#configure terminal
Enter configure mode
Bridge5(config)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge5(config-router)# net 49.3600.3600.0002.00
Configure net
Bridge5(config-router)#exit
End current mode and down to previous mode
Bridge5(config)#interface lo
Configure interface loopback
Bridge5(config-if)# ip address 2.2.2.2/32 secondary
Configure secondary ip address
Bridge5(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge5(config-if)#commit
Commit the candidate configuration to the running
configuration
Bridge5(config-if)#exit
End current mode and down to previous mode
Bridge5(config)#router ldp
Enable LDP protocol
Bridge5(config-router)#router-id 2.2.2.2
Set router id
Bridge5(config-router)#targeted-peer ipv4 1.1.1.1
Configure targeted peer
Bridge5(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge5(config-router)#targeted-peer ipv4 3.3.3.3
Configure targeted peer
Bridge5(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge5(config-router)#transport-address ipv4 2.2.2.2
Configure a transport address for a label space
Bridge5(config-router)#commit
Commit the candidate configuration to the running
configuration
Bridge5(config-router)#exit
End current mode and down to previous mode
Bridge5(config)#mpls vpls vpls450 450
Create an instance of MPLS based Virtual Private Lan
Service (VPLS)
Bridge5(config-vpls)#signaling ldp
Establishing pseudowires with other PE routers using ldp protocol
Bridge5(config-vpls-sig)#vpls-peer 1.1.1.1
Add a peer to VPLS domain
Bridge5(config-vpls-sig)#vpls-peer 3.3.3.3
Add a peer to VPLS domain
Bridge5(config-vpls-sig)#exit-signaling
Exit from Signaling configuration mode and start signaling
Bridge5(config-vpls)# exit-vpls
Exit from vpls mode
Bridge5(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge5(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge5(config)#vlan database
Configure VLAN database
Bridge5(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge5(config-vlan)#interface xe15
Configure interface xe15
Bridge5(config-if)#switchport
Configure xe15 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 900-1010
Allow vlan 900-1010 on xe15 interface
Bridge5(config-if)#interface interface xe15.450 switchport
Configure interface xe15.450 as L2 subinterface
Bridge5(config-if)#encapsulation dot1q 450
Configure dotq encapsulation for vlan 450 packets
Bridge5(config-if)#access-if-vpls
Enter to VPLS MPLS Access interface mode
Bridge5(config-acc-if-vpls)#mpls-vpls vpls450
Attach VPLS instance
Bridge5(config-acc-if-vpls)#exit
End current mode and down to previous mode
Bridge5(config-if)#interface xe0
Configure interface xe0
Bridge5(config-if)#switchport
Configure xe0 as a layer 2 port
Bridge5(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge5(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge5(config-if)#switchport mode trunk
Configure port as trunk port
Bridge5(config-if)#switchport trunk allowed vlan add 900-1010
Allow vlan 900-1010 on xe0 interface
Bridge5(config-if)#interface xe0.450
Configure sub-interface of xe0
Bridge5(config-if)#encapsulation dot1q 450
Configure dotq encapsulation for vlan 450 packets
Bridge5(config-if)#ip address 10.1.1.1/30
Configure ip address
Bridge5(config-if)#label-switching
Enable label-switching on interface
Bridge5(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge5(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge5(config-if)#erps-instance none
Configure erps-instance in this subinterface
Bridge5(config-if)#interface xe22
Configure interface xe24
Bridge5(config-if)#ip address 20.1.1.1/30
Configure ip address
Bridge5(config-if)#label-switching
Enable label-switching on interface
Bridge5(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge5(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge5(config-if)# ethernet cfm domain-type character-string domain-name mdna2 level 7 mip-creation default
Create cfm domain with type as character string with name mdna2 and set MIP creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge5(config-ether-cfm-ma)#vlan 900 bridge 1
Add VLAN 900
Bridge5(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge5(config-ether-cfm-ma)# ethernet cfm mep down mpid 37 active true xe15
Create down MEP 37 for xe15 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 3037
Configure crosscheck to remote MEP with value 3037
Bridge5(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge5(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-if)# ethernet cfm domain-type character-string domain-name mdna3 level 7 mip-creation default
Create cfm domain with type as character string with name mdna3 and set MIP creation criteria to default with level 7
Bridge5(config-ether-cfm)#service ma-type string ma-name n27
Create MA type as string with name n27
Bridge5(config-ether-cfm-ma)# vlan 900 bridge 1
Add VLAN 900
Bridge5(config-ether-cfm-ma)# mip-creation default
Set MIP-creation criteria to default
Bridge5(config-ether-cfm-ma)# ethernet cfm mep down mpid 47 active true xe0
Create down MEP 47 for xe0 interface
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 4047
Configure crosscheck to remote MEP with value 4047
Bridge5(config-ether-cfm-ma)#cc interval 10s
Enable cc interval with 10s
Bridge5(config-ether-cfm-ma)# exit-ether-ma-mode
Exit Ethernet ma mode
Bridge5(config-ether-cfm)#g8032 ring RING1
Create g8032 ring with name RING1
Bridge5(g8032-ring-config)#east-interface xe0
Associate ce20 interface as east-interface
Bridge5(g8032-ring-config)#west-interface xe15
Associate xe14 interface as west-interface
Bridge5(g8032-ring-config)#g8032 profile profile1
Create g8032 profile with profile name profile1
Bridge5(g8032-profile-config)#timer wait-to-restore 1
Configure wait to restore time as 1 min
Bridge5(g8032-profile-config)#timer hold-off 0
Configure hold-off timer value as 0
Bridge5(g8032-profile-config)#timer guard-timer 10
Configure guard-timer value as 10ms
Bridge5(g8032-profile-config)#switching mode revertive
Configure Switching mode as revertive Switching mode
Bridge5(g8032-profile-config)#g8032 erp-instance erp1
Create g8032 erp instance erp1
Bridge5(g8032-config-switch)#ring RING1
Associate ring RING1 to erp1 instance
Bridge5(g8032-config-switch)#rpl role owner east-interface
Configure the node as owner towards east-interface
Bridge5(g8032-config-switch)#g8032-profile profile1
Associate Profile profile1 to erp1 instance
Bridge5(g8032-config-switch)#aps-channel level 7
Configure level as 7
Bridge5(g8032-config-switch)#aps-channel vlan 900
Configure RAPS channel vlan as 900
Bridge5(g8032-config-switch)#data vlan 950
Configure traffic vlan 950
Bridge5(g8032-config-switch)#ring-id 1
Configure ring-id as 1
Bridge5(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge5(g8032-config-switch)#end
Exit g8032 erp instance mode
 
Bridge 6
 
Bridge6#configure terminal
Enter configure mode
Bridge6(config)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge6(config-router)# net 49.3600.3600.0003.00
Configure net
Bridge6(config-router)#exit
End current mode and down to previous mode
Bridge6(config)#interface lo
Configure interface loopback
Bridge6(config-if)# ip address 3.3.3.3/32 secondary
Configure secondary ip address
Bridge6(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge6(config-if)#commit
Commit the candidate configuration to the running
configuration
Bridge6(config-if)#exit
End current mode and down to previous mode
Bridge6(config)#router ldp
Enable LDP protocol
Bridge6(config-router)#router-id 3.3.3.3
Set router id
Bridge6(config-router)#targeted-peer ipv4 1.1.1.1
Configure targeted peer
Bridge6(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge6(config-router)#targeted-peer ipv4 2.2.2.2
Configure targeted peer
Bridge6(config-router)#exit-targeted-peer-mode
Exit Targeted Peer configuration mode
Bridge6(config-router)#transport-address ipv4 3.3.3.3
Configure a transport address for a label space
Bridge6(config-router)#commit
Commit the candidate configuration to the running
configuration
Bridge6(config-router)#exit
End current mode and down to previous mode
Bridge6(config)#mpls vpls vpls450 450
Create an instance of MPLS based Virtual Private Lan
Service (VPLS)
Bridge6(config-vpls)#signaling ldp
Establishing pseudowires with other PE routers using ldp protocol
Bridge6(config-vpls-sig)#vpls-peer 1.1.1.1
Add a peer to VPLS domain
Bridge6(config-vpls-sig)#vpls-peer 2.2.2.2
Add a peer to VPLS domain
Bridge6(config-vpls-sig)#exit-signaling
Exit from Signaling configuration mode and start signaling
Bridge6(config-vpls)# exit-vpls
Exit from vpls mode
Bridge6(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge.
Bridge6(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string
Bridge6(config)#vlan database
Configure VLAN database
Bridge6(config-vlan)# vlan 450 bridge 1 state enable
Create VLAN 450 on bridge 1
Bridge6(config-vlan)# vlan 900-1010 bridge 1 state enable
Create VLAN 900-1010 on bridge 1
Bridge6(config-vlan)#interface xe4
Configure interface xe4
Bridge6(config-if)#switchport
Configure xe4 as a layer 2 port
Bridge6(config-if)#bridge-group 1
Configure interface in bridge group 1
Bridge6(config-if)#bridge-group 1 spanning-tree disable
Disable spanning tree for bridge group 1 on that interface
Bridge6(config-if)#switchport mode trunk
Configure port as trunk port
Bridge6(config-if)#switchport trunk allowed vlan add 900-1010
Allow vlan 900-1010 on xe4 interface
Bridge6(config-if)#interface interface xe4.450 switchport
Configure interface xe4.450 as L2 subinterface
Bridge6(config-if)#encapsulation dot1q 450
Configure dotq encapsulation for vlan 450 packets
Bridge6(config-if)#access-if-vpls
Enter to VPLS MPLS Access interface mode
Bridge6(config-acc-if-vpls)#mpls-vpls vpls450
Attach VPLS instance
Bridge6(config-acc-if-vpls)#exit
End current mode and down to previous mode
Bridge6(config-if)#interface xe2
Configure sub-interface of xe2
Bridge6(config-if)#ip address 20.1.1.2/30
Configure ip address
Bridge6(config-if)#label-switching
Enable label-switching on interface
Bridge6(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge6(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge6(config-if)#interface xe5
Configure interface xe24
Bridge6(config-if)#ip address 30.1.1.1/30
Configure ip address
Bridge6(config-if)#label-switching
Enable label-switching on interface
Bridge6(config-if)#ip router isis 1
Enable routing process - Intermediate System (IS-IS)
Bridge6(config-if)#enable-ldp ipv4
Enable LDP protocol
Bridge6(config-if)#commit
Commit the candidate configuration to the running configuration
Bridge6(config-if)#end
Exit g8032 erp instance mode
Validation
Bridge1:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 14:44:8f:9c:20:dd
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe20 xe12
Protocol State : Unblocked Unblocked
Link Status : UP UP
Remote NodeId : f8:8e:a1:f3:25:42 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : mdna2 mdna1
MEP ID : 3037 2027
MA Name : n27 n27
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 900, 1) |
===========================
 
DataTraffic vlan: 950
Profile : profile1
 
Bridge2:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 34:ef:b6:2f:45:86
----------------------------------------------------------
East Link West Link
==========================================================
Interface : ce9/1 ce6/1
Protocol State : Unblocked Unblocked
Link Status : UP UP
Remote NodeId : f8:8e:a1:f3:25:42 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : mdna1 mdna5
MEP ID : 27 6067
MA Name : n27 n27
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 900, 1) |
===========================
 
DataTraffic vlan: 950
Profile : profile1
 
Bridge3:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NON-OWNER
Node ID : 34:ef:b6:3c:55:c6
----------------------------------------------------------
East Link West Link
==========================================================
Interface : ce4/1 ce7/1
Protocol State : Unblocked Unblocked
Link Status : UP UP
Remote NodeId : f8:8e:a1:f3:25:42 -
Remote BPR : 1 -
Endpoint Info
-------------
Domain Name : mdna5 mdna4
MEP ID : 67 5057
MA Name : n27 n27
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 900, 1) |
===========================
 
DataTraffic vlan: 950
Profile : profile1
 
Bridge4:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : NEIGHBOR (WEST)
Node ID : e8:c5:7a:47:c8:37
----------------------------------------------------------
East Link West Link
==========================================================
Interface : ce20 xe14
Protocol State : Unblocked Blocked
Link Status : UP UP
Remote NodeId : f8:8e:a1:f3:25:42 f8:8e:a1:f3:25:42
Remote BPR : 1 1
Endpoint Info
-------------
Domain Name : mdna4 mdna3
MEP ID : 57 4047
MA Name : n27 n27
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 900, 1) |
===========================
 
DataTraffic vlan: 950
Profile : profile1
Bridge4:
show mpls vpls mesh
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
 
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status
450 2.2.2.2 3 26240 xe14.450 26241 2/Up 1 LDP Active
450 3.3.3.3 3 26241 xe4 26241 2/Up 2 LDP Active
Bridge4:
show hsl ifmgr l3 xe14.450
Interface: xe14.450 Ifindex: 164331970 Type: IP [mpls] Oper Count 1 Ref Count 2
FIB: 0 Status : UP/RUNNING
Ethertpe : 0x8100 (NOT CONFIGURED)
L3 Info | Ifindex : 4150 VID : 4150 : HW FIB_ID : 0L3 egress
ID : 536875008
lport: 0x800000f
Lif Id : 0x44802018 Encap Id : 0x2018
Configured ERPS Instance : NONE <0>
Current ERPS Instance : NONE <0>
Current ERPS Port State : Forward
 
Total number of Children port count : 1
IPv4 Address (Count: 1):
Pfx: 10.1.1.2/30 flags: 0 int_flags: 16
IPv6 Address (Count: 1):
Pfx: fe80::eac5:7aff:fe47:c831/64 flags: 0 int_flags: 16
 
Bridge4:
show hsl hw unit 0 ac-lif | grep 450
16 0x4480200f 0x200f none 0x0 0 4149 450 0x1b 0x2011 Forward
25 0x44802018 0x2018 port*vlan 0x241c00e4 450 4150 450 0x11 0x201a Forward
 
Bridge5:
show g8032 erp-instance erp1
 
Inst Name : erp1
Description :
State : G8032_ST_IDLE
Phy Ring : RING1
Ring Type : MAJOR-RING
Role : OWNER (EAST)
Node ID : f8:8e:a1:f3:25:42
----------------------------------------------------------
East Link West Link
==========================================================
Interface : xe0 xe15
Protocol State : Blocked Unblocked
Link Status : UP UP
Remote NodeId : - -
Remote BPR : - -
Endpoint Info
-------------
Domain Name : mdna3 mdna2
MEP ID : 47 37
MA Name : n27 n27
==========================================================
---------------------------
Channel |
(LEVEL, VLAN, RING ID) |
===========================
(7, 900, 1) |
===========================
 
DataTraffic vlan: 950
Profile : profile1
 
Bridge5:
show mpls vpls mesh
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
 
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status
450 1.1.1.1 3 26241 xe0.450 26240 2/Up 1 LDP Active
450 3.3.3.3 3 26240 xe22 26240 2/Up 2 LDP Active
 
Bridge6:
show mpls vpls mesh
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
 
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status
450 1.1.1.1 3 26241 xe5 26241 2/Up 1 LDP Active
450 2.2.2.2 3 26240 xe2 26240 2/Up 2 LDP Active-