3.4.4 CFM MEP Configuration

Command Syntax:

mep <mepid>
direction { up | down }
interface <port_type> <port>
vlan { inherit | <vid> }
pcp <pcp>
smac <mac>
alarm-level <alarm_level>
alarm-time-present <alarm_time_present_ms>
alarm-time-absent <alarm_time_absent_ms>
continuity-check admin-state { enable | disable }
remote mep <rmepid>
Table 3-28. Command Description

Argument

Description

Parameter

<mepid>

The identification of this MEP. Must be an integer in the range of 1–8091.

up | down

Set whether this MEP is an Up- or a Down-MEP.

<port_type> <port>

Port on which this MEP resides.

inherit | <vid>

Inherit from the service's type or use this VLAN ID

<pcp>

Choose PCP value in PDUs' VLAN tag. Not used if untagged.

<mac>

Set a Source MAC address to be used in CCM PDUs originating at this MEP. Must be a unicast address. Format is XX:XX:XX:XX:XX:XX.

<alarm_level>

If a defect is detected with a priority higher than this level, a fault alarm notification is generated. Valid range is 1–6, with 1 indicating that any defect causes a fault alarm and 6 indicating that no defect can cause a fault alarm.

<alarm_time_present_ms>

The time in milliseconds that defects must be present before a fault alarm notification is issued. Default is 2500 ms.

<alarm_time_absent_ms>

The time in milliseconds that defects must be absent before a fault alarm notification is reset. Default is 10000 ms.

<rmepid>

Specify the Remote MEP that this MEP is expected to receive CCM PDUs from. Must be an integer in the range of 0–8091, where 0 means undefined. The value of Remote MEPID must be different from the value of MEPID.

Default

None

Mode

CFM Service Configuration mode.

Usage

Configure CFM MEP parameters. To delete the specific service by name, use the 'no' version of the command, or use the parameter 'all' to delete all CFM services.

Example

Example 1:

Configure CFM MEP with ID1 on port 2.

(config)# cfm domain test
(config-cfm-dmn)# service testservice
(config-cfm-dmn-svc)# mep 1
(config-cfm-dmn-svc-mep)# interface GigabitEthernet 1/2