To configure a scheduled measurement session, a test profile must be attached to the MEP-RMEP pair.
device# configure terminal
device(config)# protocol cfm
device(config-cfm)# domain-name md1 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 2dm_default_profile mode initiator