To enable CFM on an Ethernet interface, maintenance domains, maintenance associations, and MEPs must be created and configured.
To create a maintenance domain, include the maintenance-domain domain-name statement at the [edit protocols oam ethernet connectivity-fault-management] hierarchy level.
Give the maintenance domain a name. Names can be in one of several formats.