#configure terminal  | Enter configure mode.  | 
(config)#hardware-profile filter cfm-domain-name-str enable  | Configure Hardware profile filter.  | 
(config)#hardware-profile statistics ingress-acl enable  | Configure hardware profile statistics ingress-acl.  | 
(config)#vlan database  | Enter Vlan config mode.  | 
(config-vlan)#vlan 2-100 bridge 1 state enable  | Configure Vlans.  | 
(config-vlan)#exit  | Exit Vlan config mode.  | 
(config)#interface xe15  | Enter Interface config mode.  | 
(config-if)#switchport  | Configure Interface as switchport.  | 
(config-if)#bridge-group 1  | Configure bridge-group.  | 
(config-if)#switchport mode trunk  | Configure switchport mode as trunk.  | 
(config-if)#switchport trunk allowed vlan all  | Configure all vlans as part of switchport trunk.  | 
(config-if)#no shutdown  | Bring the interface into operation.  | 
(config-if)#exit  | Exit interface mode.  | 
(config)#ethernet cfm domain-type character-string domain-name test1 level 7 mip-creation none   | Enter ethernet cfm mode by specifying domain name and bridge.  | 
(config-ether-cfm)#service ma-type string ma-name test1   | Configure service ma.  | 
(config-ether-cfm-ma)#vlan 10 bridge 1  | Configure service Vlan.  | 
(config-ether-cfm-ma)#mip-creation none  | Configure mip-creation type.  | 
(config-ether-cfm-ma)#ethernet cfm mep down mpid 200 active true xe15  | Configure ethernet cfm mep.  | 
(config-ether-cfm-ma-mep)#cc multicast state enable  | Enable multicast state.  | 
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode  | Exit Ethernet ma mep mode.  | 
(config-ether-cfm-ma)#mep crosscheck mpid 100  | Configure RMEP.  | 
(config-ether-cfm-ma)#cc  interval 5  | Configure interval in ma mode.  | 
(config-ether-cfm-ma)#exit-ether-ma-mode  | Exit ma mode.  | 
(config-ether-cfm)#exit  | Exit Ethernet cfm mode.  | 
(config)#ethernet cfm test-signal profile-name test  | Configure Ethernet cfm test-signal profile.  | 
(config-cfm-tst)#mode both  | Configure test-signal mode as both(generator and receiver).  | 
(config-cfm-tst)#frame-size 1500  | Configure test-signal frame-size.  | 
(config-cfm-tst)#commit  | Commit the candidate configuration to the running configuration.  | 
(config-cfm-tst)#exit  | Exit Ethernet cfm test-signal mode.  | 
#configure terminal  | Enter configure mode.  | 
(config)#hardware-profile filter cfm-domain-name-str enable  | Configure Hardware profile filter.  | 
(config)#hardware-profile statistics ingress-acl enable  | Configure hardware profile statistics ingress-acl.  | 
(config)#vlan database  | Enter Vlan config mode.  | 
(config-vlan)#vlan 2-100 bridge 1 state enable  | Configure Vlans.  | 
(config-vlan)#exit  | Exit Vlan config mode.  | 
(config)#interface xe15  | Enter Interface config mode.  | 
(config-if)#switchport  | Configure Interface as switchport.  | 
(config-if)#bridge-group 1  | Configure bridge-group.  | 
(config-if)#switchport mode trunk  | Configure switchport mode as trunk.  | 
(config-if)#switchport trunk allowed vlan all  | Configure all vlans as part of switchport trunk.  | 
(config-if)#no shutdown  | Bring the interface into operation.  | 
(config-if)#exit  | Exit interface mode.  | 
(config)#ethernet cfm domain-type character-string domain-name test1 level 7 mip-creation none   | Enter ethernet cfm mode by specifying domain name and bridge.  | 
(config-ether-cfm)#service ma-type string ma-name test1  | Configure service ma.  | 
(config-ether-cfm-ma)#vlan 10 bridge 1  | Configure service Vlan.  | 
(config-ether-cfm-ma)#mip-creation none  | Configure mip-creation type.  | 
(config-ether-cfm-ma)#ethernet cfm mep down mpid 100 active true xe15  | Configure ethernet cfm mep.  | 
(config-ether-cfm-ma-mep)#cc multicast state enable  | Enable multicast state.  | 
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode  | Exit Ethernet ma mep mode.  | 
(config-ether-cfm-ma)#mep crosscheck mpid 200  | Configure RMEP.  | 
(config-ether-cfm-ma)#cc  interval 3ms  | Configure interval in ma mode.  | 
(config-ether-cfm-ma)#exit-ether-ma-mode  | Exit ma mode.  | 
(config-ether-cfm)#exit  | Exit Ethernet cfm mode.  | 
(config)#ethernet cfm test-signal profile-name sample_tst  | Configure Ethernet cfm test-signal profile.  | 
(config-cfm-tst)#mode receiver  | Configure test-signal mode as receiver.  | 
(config-cfm-tst)#commit  | Commit the candidate configuration to the running configuration.  | 
(config-cfm-tst)#exit  | Exit Ethernet cfm test-signal mode.  |