
SW1#configure terminal  | Enter configure mode.  | 
SW1(config)#bridge 1 protocol rstp vlan-bridge  | Create bridge 1 as an RSTP VLAN-aware bridge.  | 
SW1(config)#vlan database  | Entering vlan database  | 
SW1(config-vlan)#vlan 512 bridge 1 state enable  | Create VLAN 512 on bridge 1.  | 
SW1(config-vlan)#exit  | Exit vlan database  | 
SW1(config)#interface ce49  | Configure interface ce49.  | 
SW1(config-if)#switchport  | Configure the interface as switch port.  | 
SW1(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW1(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW1(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface ce49.  | 
SW1(config-if)#exit  | Exit config mode.  | 
SW1(config)#ethernet cfm domain-type character-string domain-name mdnam level 7 mip-creation default  | Create cfm domain with type as character string and set mip creation criteria to default.  | 
SW1(config-ether-cfm)#service ma-type string ma-name testtm   | Create ma type as string and configure the ma   | 
SW1(config-ether-cfm-ma)#vlan 25 bridge 1  | Configure vlan-id to associate the vlan to the MA   | 
SW1(config-ether-cfm-ma)#mip-creation default  | Set the mip creation criteria to default for the MA  | 
SW1(config-ether-cfm-ma)#ethernet cfm mep down mpid 2 active true ce49   | Create down mep on ce49.  | 
SW1(config-ether-cfm-ma-mep)#cc multicast state enable   | Enable cc multicast.  | 
SW1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode   | Exit CFM MEP configuration mode.  | 
SW1(config-ether-cfm-ma)#mep crosscheck mpid 1  | Configure crosscheck to remote MEP in VLAN 512.  | 
SW1(config-ether-cfm-ma)#cc interval 10ms  | Enable cc interval for 10 millisecond.  | 
SW1(config-ether-cfm-ma)#exit-ether-ma-mode  | Exit CFM MA configuration mode.  | 
SW1(config-ether-cfm)#exit  | Exit ethernet CFM mode.  | 
SW1(config)#commit  | Commit the configuration  | 
SW1(config)#exit  | Exit the configure terminal mode  | 
SW2#configure terminal  | Enter configure mode.  | 
SW2(config)#bridge 1 protocol rstp vlan-bridge  | Create bridge 1 as an RSTP VLAN-aware bridge.  | 
SW2(config)#vlan database  | Entering vlan database  | 
SW2(config-vlan)#vlan 512 bridge 1 state enable  | Create VLAN 512 on bridge 1.  | 
SW2(config-vlan)#exit  | Exit vlan database  | 
SW2(config)#interface ce0  | Configure interface ce0.  | 
SW2(config-if)#switchport  | Configure the interface as switch port.  | 
SW2(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW2(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW2(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface ce0.  | 
SW2(config-if)#exit  | Exit config mode.  | 
SW2(config)#interface xe0  | Configure interface xe0.  | 
SW2(config-if)#switchport  | Configure the interface as switch port.  | 
SW2(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW2(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW2(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe1.  | 
SW2(config-if)#exit  | Exit the interface mode  | 
SW2(config)#commit  | Commit the configuration  | 
SW2(config)#exit  | Exit the configure terminal mode  | 
SW3#configure terminal  | Enter configure mode.  | 
SW3(config)#bridge 1 protocol rstp vlan-bridge  | Create bridge 1 as an RSTP VLAN-aware bridge.  | 
SW3(config)#vlan database  | Entering vlan database  | 
SW3(config-vlan)#vlan 512 bridge 1 state enable  | Create VLAN 512 on bridge 1.  | 
SW3(config-vlan)#exit  | Exit vlan database  | 
SW3(config)#interface xe17  | Configure interface xe17  | 
SW3(config-if)#switchport  | Configure the interface as switch port.  | 
SW3(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW3(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW3(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe17.  | 
SW3(config-if)#exit  | Exit config mode.  | 
SW3(config)#interface xe1  | Configure interface xe1.  | 
SW3(config-if)#switchport  | Configure the interface as switch port.  | 
SW3(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW3(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW3(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe1.  | 
SW3(config-if)#exit  | Exit the interface mode  | 
SW3(config)#commit  | Commit the configuration  | 
SW3(config)#exit  | Exit the configure terminal mode  | 
SW4#configure terminal  | Enter configure mode.  | 
SW4(config)#bridge 1 protocol rstp vlan-bridge  | Create bridge 1 as an RSTP VLAN-aware bridge.  | 
SW4(config)#vlan database  | Entering vlan database  | 
SW4(config-vlan)#vlan 512 bridge 1 state enable  | Create VLAN 512 on bridge 1.  | 
SW4(config-vlan)#exit  | Exit vlan database  | 
SW4(config)#interface xe1  | Configure interface xe1.  | 
SW4(config-if)#switchport  | Configure the interface as switch port.  | 
SW4(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW4(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW4(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe1.  | 
SW4(config-if)#exit  | Exit config mode.  | 
SW4(config)#interface xe9  | Configure interface xe9.  | 
SW4(config-if)#switchport  | Configure the interface as switch port.  | 
SW4(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW4(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW4(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe9.  | 
SW4(config-if)#exit  | Exit the interface mode  | 
SW4(config)#commit  | Commit the configuration  | 
SW4(config)#exit  | Exit the configure terminal mode  | 
SW5#configure terminal  | Enter configure mode.  | 
SW5(config)#bridge 1 protocol rstp vlan-bridge  | Create bridge 1 as an RSTP VLAN-aware bridge.  | 
SW5(config)#vlan database  | Entering vlan database  | 
SW5(config-vlan)#vlan 512 bridge 1 state enable  | Create VLAN 512 on bridge 1.  | 
SW5(config-vlan)#exit  | Exit vlan database  | 
SW5(config)#interface xe9  | Configure interface xe9.  | 
SW5(config-if)#switchport  | Configure the interface as switch port.  | 
SW5(config-if)#bridge-group 1  | Configure interface in bridge group 1.  | 
SW5(config-if)#switchport mode trunk   | Configure interface mode as trunk.  | 
SW5(config-if)#switchport trunk allowed vlan all   | Allow all VLANs on interface xe9.  | 
SW5(config-if)#exit  | Exit config mode.  | 
SW5(config)#ethernet cfm domain-type character-string domain-name mdnam level 7 mip-creation default   | Create cfm domain with type as character string and set mip creation criteria to default.  | 
SW5(config-ether-cfm)#service ma-type string ma-name testtm   | Create ma type as string and set mip creation criteria to default.  | 
SW5(config-ether-cfm-ma)#vlan 25 bridge 1  | Configure vlan-id to associate the vlan to the MA   | 
SW5(config-ether-cfm-ma)#mip-creation default  | Set the mip creation criteria to default for the MA  | 
SW5(config-ether-cfm-ma)#ethernet cfm mep down mpid 1 active true xe9  | Create down mep on xe9.  | 
SW5(config-ether-cfm-ma-mep)#cc multicast state enable  | Enable cc multicast.  | 
SW5(config-ether-cfm-ma-mep)#exit-ether-ma- mep-mode  | Exit CFM MEP configuration mode  | 
SW5(config-ether-cfm-ma)#mep crosscheck mpid 2  | Configure crosscheck to remote MEP in VLAN 512.  | 
SW5(config-ether-cfm-ma)#cc interval 10ms  | Enable cc interval for 10 millisecond.  | 
SW5(config-ether-cfm-ma)#exit-ether-ma-mode  | Exit CFM MA configuration mode.  | 
SW5(config-ether-cfm)#exit  | Exit ethernet CFM mode.  | 
SW5(config)#commit  | Commit the configuration  | 
SW5(config)#exit  | Exit the configure terminal mode  |