The name of an MD can be changed from within the named MD context. Use the name command specifying a supported MD name type and name. See MD Naming Conventions for details on naming an MD.
This example shows how to change the name of the myMD1 maintenance domain to yourMD1. Note that the index number for this maintenance domain does not change.
System(rw-config)->cfm md string-name myMD1 System(su-config-cfm-md.1)->name md string-name yourMD1 System(su-config-cfm-md.1)->enable