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)#vlan 10-100 bridge 1 state enable | Create VLAN 10-100 on bridge 1 |
Bridge1(config)#commit | Commit transaction |
Bridge1(config)#interface xe1 | Configure interface xe1 |
Bridge1(config-if)# switchport | Configure xe1 as a layer 2 port |
Bridge1(config-if)# bridge-group 1 | Configure interface in bridge group 1 |
Bridge1(config-if)# switchport mode trunk | Configure port as trunk port |
Bridge1(config-if)# switchport trunk allowed vlan add 10-100 | Allow vlan 10-100 on xe1 interface |
Bridge1(config)#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)# switchport mode trunk | Configure port as trunk port |
Bridge1(config-if)# switchport trunk allowed vlan add 10-100 | Allow vlan 10-100 on xe1 interface |
Bridge1(config-if)#exit | Exit interface mode |
Bridge1(config)#commit | Commit transaction |
Bridge1(config)#ethernet cfm domain-type character-string domain-name 12345 level 5 mip-creation none | Create cfm domain with type as character string with name 12345 and set mip creation criteria to default with level 5 on bridge 1 |
Bridge1(config-ether-cfm)#service ma-type string ma-name 54321 | Create ma type as string with name 54321 |
Bridge1(config-ether-cfm-ma)# vlan 10 bridge 1 | Add vlan 10 |
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 111 active true xe1 | Create down mep 111 for xe1 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 222 | Configure crosscheck to remote MEP with value 222 |
Bridge1(config-ether-cfm-ma)#cc interval 3ms | Enable cc interval with 3ms |
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode | Exit Ethernet ma mode |
Bridge1(config-ether-cfm)#exit | Exit Ethernet cfm mode |
Bridge1(config)#ethernet cfm domain-type character-string domain-name 56789 level 5 mip-creation none | Create cfm domain with type as character string with name 56789 and set mip creation criteria to default with level 5 on bridge 1 |
Bridge1(config-ether-cfm)#service ma-type string ma-name 98765 | Create ma type as string with name 98765. |
Bridge1(config-ether-cfm-ma)# vlan 10 bridge 1 | Add vlan 10 |
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 333 active true xe2 | Create down mep 333 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 444 | Configure crosscheck to remote MEP with value 444 |
Bridge1(config-ether-cfm-ma)#cc interval 3ms | Enable cc interval with 3ms |
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode | Exit Ethernet ma mode |
Bridge1(config-ether-cfm)#exit | Exit Ethernet cfm mode |
Bridge1(config)#commit | Commit transaction |
Bridge1(config)#g8031 eps-id 1 bridge 1 | Create g8031 with eps-id 1 on bridge 1 |
Bridge1(g8031-config-switching)# working-port xe2 | Associate xe2 interface as working port |
Bridge1(g8031-config-switching)# protection-port xe1 | Associate xe1 interface as protection port |
Bridge1(g8031-config-switching)# instance 1 | Create ELPS instance 1 |
Bridge1(g8031-config-switching)# vlan 20 | Add data-vlan 20 |
Bridge1(g8031-config-switching)# vlan 30 | Add data-vlan 30 |
Bridge1(g8031-config-switching)# primary-vlan 10 | Associate management vlan 10 |
Bridge1(g8031-config-switching)# mode one-plus-one-bidirectional | Associate elps mode one-plus-one-bidirectional |
Bridge1(g8031-config-switching)# revertive | Set switchover type revertive |
Bridge1(g8031-config-switching)# level 5 | Associate cfm to PG |
Bridge1(g8031-config-switching)#exit | Exit g8031 config mode |
Bridge1(config)#commit | Commit transaction |
Bridge1(config)#end | Exit config terminal |
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)#vlan 10-100 bridge 1 state enable | Create VLAN 10-100 on bridge 1 |
Bridge2(config)#commit | Commit transaction |
Bridge2(config)#interface xe1 | Configure interface xe1 |
Bridge2(config-if)# switchport | Configure xe1 as a layer 2 port |
Bridge2(config-if)# bridge-group 1 | Configure interface in bridge group 1 |
Bridge2(config-if)# switchport mode trunk | Configure port as trunk port |
Bridge2(config-if)# switchport trunk allowed vlan add 10-100 | Allow vlan 10-100 on xe1 interface |
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)# switchport mode trunk | Configure port as trunk port |
Bridge2(config-if)# switchport trunk allowed vlan add 10-100 | Allow vlan 10-100 on xe1 interface |
Bridge2(config-if)#exit | Exit interface mode |
Bridge2(config)#commit | Commit transaction |
Bridge2(config)#ethernet cfm domain-type character-string domain-name 12345 level 5 mip-creation none | Create cfm domain with type as character string with name 12345 and set mip creation criteria to default with level 5 on bridge 1 |
Bridge2(config-ether-cfm)#service ma-type string ma-name 54321 | Create ma type as string with name 54321 |
Bridge2(config-ether-cfm-ma)# vlan 10 bridge 1 | Add vlan 10 |
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 222 active true xe1 | Create down mep 222 for xe1 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 111 | Configure crosscheck to remote MEP with value 111 |
Bridge2(config-ether-cfm-ma)#cc interval 3ms | Enable cc interval with 3ms |
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode | Exit Ethernet ma mode |
Bridge2(config-ether-cfm)#exit | Exit Ethernet cfm mode |
Bridge2(config)#ethernet cfm domain-type character-string domain-name 56789 level 5 mip-creation none | Create cfm domain with type as character string with name 56789 and set mip creation criteria to default with level 5 on bridge 1 |
Bridge2(config-ether-cfm)#service ma-type string ma-name 98765 | Create ma type as string with name 98765. |
Bridge2(config-ether-cfm-ma)# vlan 10 bridge 1 | Add vlan 10 |
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 444 active true xe2 | Create down mep 444 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 333 | Configure crosscheck to remote MEP with value 333 |
Bridge2(config-ether-cfm-ma)#cc interval 3ms | Enable cc interval with 3ms |
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode | Exit Ethernet ma mode |
Bridge2(config-ether-cfm)#exit | Exit Ethernet cfm mode |
Bridge2(config)#commit | Commit transaction |
Bridge2(config)g8031 eps-id 1 bridge 1 | Create g8031 with eps-id 1 on bridge 1 |
Bridge2(g8031-config-switching)# working-port xe2 | Associate xe2 interface as working port |
Bridge2(g8031-config-switching)# protection-port xe1 | Associate xe1 interface as protection port |
Bridge2(g8031-config-switching)# instance 1 | Create ELPS instance 1 |
Bridge2(g8031-config-switching)# vlan 20 | Add data-vlan 20 |
Bridge2(g8031-config-switching)# vlan 30 | Add data-vlan 30 |
Bridge2(g8031-config-switching)# primary-vlan 10 | Associate management vlan 10 |
Bridge2(g8031-config-switching)# mode one-plus-one-bidirectional | Associate elps mode one-plus-one-bidirectional |
Bridge2(g8031-config-switching)# revertive | Set switchover type revertive |
Bridge2(g8031-config-switching)# level 5 | Associate cfm to PG |
Bridge2(g8031-config-switching)#exit | Exit g8031 config mode |
Bridge2(config)#commit | Commit transaction |
Bridge2(config)#end | Exit config terminal |