Configure Autogenerated CFM on C-VLANs

Use this procedure to configure the autogenerated CFM MEP and MIP level for every C-VLAN on the chassis.

Note

Note

For C-VLANs, you can only use autogenerated CFM MEPs.

Important

Important

CFM supports one MEP or MIP for each C-VLAN. Only autogenerated CFM provides support for configuring MEP and MIPs on C-VLANs. You cannot explicitly configure C-VLANs.

About this task

When you enable this feature, you create a global MD (named cmac) for all the customer MAC (C-MAC) MEPs. This global MD has a default maintenance level of 4, which you can change with the level attribute. The autogenerated CFM commands also create an MA for each C-VLAN, a MEP for each C-VLAN, associate the MEP with the corresponding C-VLAN, and a MIP with the C-VLAN.

All the MEPs that the device creates use the MEP ID configured under the global context, which has a default value of 1. The device automatically associates the MEPs with the C-VLANs configured. The MIP level maps to the global level. The device automatically associates the MIP level with the C-VLANs configured when you enable the feature.

The feature is disabled by default.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the maintenance level for every CFM C-MAC MEP and MP level on all the C-VLANs:

    cfm cmac level <0–7>

    Only configure global CFM at one MD level for each chassis for each VLAN type.

  3. Assign a global CFM MEP ID for all CFM C-MAC MEPs:

    cfm cmac mepid <1-8191>

  4. Enable the autogenerated CFM for C-VLANs:

    cfm cmac enable

  5. Optional: Configure the maintenance level for every CFM C-MAC MEPs and MP level on all the C-VLANs to the default:

    default cfm cmac level

  6. Optional: Assign a global CFM MEP ID for all CFM C-MAC MEPs to the default:

    default cfm cmac mepid

  7. Optional: Disable the global CFM MEPs and MIPs:

    no cfm cmac enable

  8. Display the global CFM MEP configuration:

    show cfm cmac

Example

Configure autogenerated CFM MEPs and MIP level:

Switch>enable
Switch#configure terminal
Switch(config)#cfm cmac level 0
Switch(config)#cfm cmac mepid 4
Switch(config)#cfm cmac enable
Switch(config)#show cfm cmac

LEVEL ADMIN	MEPID	MAC
======================================
0		enable		4		00:15:e8:b8:a3:de

Variable Definitions

The following table defines parameters for the cfm cmac command.

Variable

Value

level<0-7>

Specifies the global C-MAC CFM maintenance level for the chassis within the range of 0 to 7. The default is 4.

Only configure global CFM at one MD level for each chassis for each VLAN type.

mepid<1-8191>

Specifies the global MEP ID within the range of 1–8191. Select a unique ID for each switch to ensure that the MEPs are unique across the network. The default is 1.

Note:

The MA takes its name from this value for autogenerated CFM. For example, if you specify 500 as the MEP ID, the MA will also be 500.

enable

Enables autogenerated CFM for all C-MAC VLANs.

Job Aid

The following table describes the fields for the show cfm cmac command.

Parameter

Description

LEVEL

Specifies the global C-VLAN CFM maintenance level for the chassis. The default is 4.

ADMIN

Specifies if CFM C-VLAN MEPs and MIPs are globally enabled.

MEP ID

Specifies the global MEP ID. The default is 1.

MAC

Specifies the MAC address.