enable

Use this command to activate the CFM configuration for the current context.

Syntax

enable
no enable

Parameters

None.

Defaults

MDs, MAs, MA components, and MEPs are not in service by default.

Mode

Maintenance Domain Configuration mode.
Maintenance Association Configuration mode.
Maintenance Association Component Configuration mode.
MEP Configuration mode.

Usage

Changes made in the MD, MA, MA component, or MEP contexts do not take affect until the enable command is entered. If enable has already been entered in a given context, you must first enter no enable before making any further changes. If you attempt to make changes in a context that has already been enabled, you receive an error message like the following MD context error message:

Error: MD must be disabled ("no enable") before changes can be made.

Once changes are completed, enter enable again for the changes to take affect.

For a given context to be operational, its parent context must be enabled. MD is the parent of MA and MA components. MA and MA components are the parents of MEPs.

Use the “no” form to de-activate settings for this context. When de-activating settings, the configuration is no longer administratively operational but the configuration remains unchanged.

Example

This example shows how to activate the myMD1 maintenance domain:

System(rw-config)->cfm md string-name myMD1
System(su-config-cfm-md.1)->enable
System(su-config-cfm-md.1)->

This example shows how to activate myMA1 for the myMD1 maintenance domain:

System(rw-config)->cfm md string-name myMD1
System(su-config-cfm-md.1)->ma string-name myMA1
System(su-config-cfm-ma.1)->enable
System(su-config-cfm-ma.1)->
This example shows how to activate myMA1 component configuration:
System(rw-config)->cfm md string-name myMD1
System(su-config-cfm-md.1)->ma string-name myMA1
System(su-config-cfm-ma.1)->ma-comp
System(su-config-cfm-macomp)->enable
System(su-config-cfm-macomp)->

This example shows how to enable MEP 1000 on myMA1:

System(rw-config)->cfm md string-name myMD1
System(su-config-cfm-md.1)->ma string-name myMA1
System(su-config-cfm-ma.1)->mep 1000
System(su-config-cfm-mep.1000)->enable
System(su-config-cfm-mep.1000)->