You must specify the interface to which the MEP is attached. It can be a physical interface or logical interface.
To configure the interface, include the interface statement at the [edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name maintenance-association ma-name mep mep-id] hierarchy level.