Configuring a Connectivity Fault Management Action Profile
You can configure an action profile and specify the action to be taken when any of the configured events occur. Alternately, you can configure an action profile and specify default actions when connectivity to a remote MEP fails.
To configure the action profile name, include the action-profile statement at the [edit protocols oam ethernet connectivity-fault-management] hierarchy level.
Configuring the Action of a CFM Action Profile
You can configure the action to be taken when any of the configured events occur.
To configure the action profile’s action, include the action statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name] hierarchy level.
Configuring the Default Actions of a CFM Action Profile
You can configure the default actions to be taken when connectivity to a remote MEP fails.
To enable the interface-down as the default action for an action profile, include the interface-down statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name default-actions] hierarchy level.
![]() | Note: Associating an action-profile with the action of interface-down on an up MEP CFM session running over a CCC interface (l2circuit/l2vpn) is not advisable and could result in a deadlock situation. |
Configuring a CFM Action Profile Event
You can configure one or more events under the action profile, the occurrence of which will trigger the corresponding action to be taken.
To configure the interface-status-tlv lower-layer-down event, include the interface-status-tlv lower-layer-down statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name event] hierarchy level.
To configure the interface-status-tlv down event, include the interface-status-tlv down statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name event] hierarchy level.
To configure the port-status-tlv blocked event, include the port-status-tlv blocked statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name event] hierarchy level.
To configure the adjacency-loss event, include the adjacency-loss statement at the [edit protocols oam ethernet connectivity-fault-management action-profile profile-name event] hierarchy level.

