device# configure terminal
device(config)# protocol cfm
device(config-cfm)# domain-name m11 id 1 level 4
device(config-cfm-md-md1)# ma-name ma1 id 1 vlan-id 30 priority 3
device(config-cfm-md-ma-ma1)# mep 1 down Ethernet 1/2
device(config-cfm-md-ma-mep-1)# remote-mep 2 test-profile my_test_profile mode initiator