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
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
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. |