Configuring Autogenerated CFM on SPBM B-VLANs

Use this procedure to configure the autogenerated CFM MEP and MIP level for every SPBM B-VLAN on the chassis. This eliminates the need to explicitly configure an MD, MA, and MEP ID, and to associate the MEP and MIP level to the SPBM B-VLAN.

When you enable this feature, the device creates a global MD (named spbm) for all the SPBM Nodal MEPs. This MD has a default maintenance level of 4, which you can change with the level attribute. All the MEPs that the device creates use the MEP ID configured under the global context, which has a default value of 1.

The nodal MEPs are automatically associated with the SPBM B-VLANs configured. The MIP level maps to the global level. When you enable the feature, the device automatically associates the MIP level with the SPBM B-VLANs configured. The feature is disabled by default.

Important

Important

CFM supports one MEP or MIP for each SPBM B-VLAN only. This means that if you want to use these autogenerated MEPs, you cannot use your existing CFM configuration. You must first remove the existing MEP or MIP on the SPBM B-VLAN. If you want to continue configuring MEPs manually, skip this procedure.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

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

    cfm spbm level <0-7>

    You can change this level from the default of 4 either before or after the feature is enabled.

    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 SPBM MEPs:

    cfm spbm mepid <1-8191>

  4. Enable the autogenerated CFM for SPBM B-VLANs globally:

    cfm spbm enable

  5. Optional: Configure the maintenance level for every CFM SPBM MEP and MP level on all the SPBM B-VLANs to the default:

    default cfm spbm level

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

    default cfm spbm mepid

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

    no cfm spbm enable

  8. Display the global CFM MEP configuration:

    show cfm spbm

Example

Configure autogenerated CFM MEPs and MIPs:

Switch>enable
Switch#configure terminal
Switch(config)#cfm spbm level 6
Switch(config)#cfm spbm mepid 4
Switch(config)#cfm spbm enable
Switch(config)#show cfm spbm

LEVEL ADMIN	MEPID	MAC
======================================
6		enable		4		00:15:e8:b8:a3:df

Variable Definitions

The following table defines parameters for the cfm spbm command.

Variable

Value

level<0-7>

Specifies the global SPBM 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.

enable

Enables autogenerated CFM on all SPBM B-VLANs.