--- title: "MEP for an Ethernet Virtual Private Line Service" slug: "mep-for-an-ethernet-virtual-private-line-service" tags: ["MEP", "flex 22.01", "flex 100"] updated: 2024-07-10T14:59:53Z published: 2024-09-03T19:24:35Z canonical: "docs.crossworkassurance.cisco.com/mep-for-an-ethernet-virtual-private-line-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # MEP for an Ethernet Virtual Private Line Service ## Configuring Maintenance End Points for an EVPL service This use case article describes the configuration of the MEP for an Ethernet Virtual Private Line service. --- ***Note**: The Maintenance Domain and Maintenance Association must be configured prior to the configuration of the MEP.* --- - Configuring of S-VLAN-aware Down MEP on NNI Port and S-VLAN-aware UP MEP on UNI Port for each of S-VLAN in EVPL service. --- ***Note**: All other CFM functionalities will be supported as described in MEP for an EPL service.* --- ### CLI Configurations **To configure MEP for an EVPL service** 1. Enable CFM Global configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm start Your Product(config)# ethernet cfm enable Your Product(config)# ethernet cfm offload Your Product(config)# end Your Product# ``` 1. Port Configurations ``` Your Product# configure terminal Your Product(config)# interface range xl-ethernet 0/1-4 Your Product(config-if-range)# shut Your Product(config-if-range)# flowcontrol on Your Product(config-if-range)# mtu 10240 Your Product(config-if-range)# no shut Your Product(config-if-range)# end ``` 1. Bridge Port related configurations ``` Your Product# configure terminal Your Product(config)# bridge-mode provider-edge Your Product(config)# interface xL-ethernet 0/2 Your Product(config-if)# bridge port-type customerEdgePort Your Product(config-if)# end Your Product# configure terminal Your Product(config)# interface xL-ethernet 0/1 Your Product(config-if)# bridge port-type providerNetworkPort Your Product(config-if)# end ``` 1. Service VLAN Configurations ``` Your Product# configure terminal Your Product(config)# vlan 6 Your Product(config-vlan)# ports xL-ethernet 0/2,0/1 Your Product(config-vlan)# service-type e-line Your Product(config-vlan)# end Your Product# ``` 1. Customer VLAN to service VLAN mapping configuration (EVPL Configuration) Many-to-one Mapping: ``` Your Product# configure terminal Your Product(config)# interface xL-ethernet 0/2 Your Product(config-if)# switchport customer-vlan 100 service-vlan 6 Your Product(config-if)# switchport customer-vlan 101 service-vlan 6 Your Product(config-if)# switchport customer-vlan 102 service-vlan 6 Your Product(config-if)# switchport customer-vlan 103 service-vlan 7 Your Product(config-if)# switchport customer-vlan 104 service-vlan 7 Your Product(config-if)# switchport customer-vlan 105 service-vlan 7 Your Product(config-if)# end ``` **OR** One-to-one Mapping: ``` Your Product# configure terminal Your Product(config)# interface xL-ethernet 0/2 Your Product(config-if)# switchport customer-vlan 100 service-vlan 6 Your Product(config-if)# switchport customer-vlan 103 service-vlan 7 Your Product(config-if)# end ``` 1. UP MEP Configurations UP MEP-1 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS5 level 5 Your Product(config-ether-ecfm)# service format char-string name CUSMA5 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 9 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 10 vlan 6 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 5 vlan 6 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create UP MEP with MEP ID 9 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/2 Your Product(config-if)# ethernet cfm mep level 5 inward mpid 9 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable UP MEP CCM at level 5 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 5 vlan 6 Your Product(config-switch)# end ``` UP MEP-2 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS6 level 6 Your Product(config-ether-ecfm)# service format char-string name CUSMA6 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 11 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 12 vlan 6 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 6 vlan 6 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create UP MEP with MEP ID 11 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/2 Your Product(config-if)# ethernet cfm mep level 6 inward mpid 11 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable UP MEP CCM at level 5 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 6 vlan 6 Your Product(config-switch)# end ``` UP MEP-3 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS7 level 7 Your Product(config-ether-ecfm)# service format char-string name CUSMA7 vlan 7 Your Product(config-ether-ecfm)# mep crosscheck mpid 13 vlan 7 Your Product(config-ether-ecfm)# mep crosscheck mpid 14 vlan 7 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 7 vlan 7 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create UP MEP with MEP ID 11 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/2 Your Product(config-if)# ethernet cfm mep level 7 inward mpid 13 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable UP MEP CCM at level 5 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 7 vlan 7 Your Product(config-switch)# end ``` 1. DOWN MEP Configurations DOWN MEP-1 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS2 level 2 Your Product(config-ether-ecfm)# service format char-string name CUSMA2 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 15 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 16 vlan 6 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 2 vlan 6 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create DOWN MEP with MEP ID 13 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/1 Your Product(config-if)# ethernet cfm mep level 2 mpid 15 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable DOWN MEP CCM at level 2 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 2 vlan 6 Your Product(config-switch)# end ``` DOWN MEP-2 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS3 level 3 Your Product(config-ether-ecfm)# service format char-string name CUSMA3 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 17 vlan 6 Your Product(config-ether-ecfm)# mep crosscheck mpid 18 vlan 6 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 3 vlan 6 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create DOWN MEP with MEP ID 17 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/1 Your Product(config-if)# ethernet cfm mep level 3 mpid 17 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable DOWN MEP CCM at level 2 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 3 vlan 6 Your Product(config-switch)# end ``` DOWN MEP-3 MA and MD level configurations ``` Your Product# configure terminal Your Product(config)# ethernet cfm domain format dns-like-name name CUS4 level 4 Your Product(config-ether-ecfm)# service format char-string name CUSMA4 vlan 7 Your Product(config-ether-ecfm)# mep crosscheck mpid 19 vlan 7 Your Product(config-ether-ecfm)# mep crosscheck mpid 20 vlan 7 Your Product(config-ether-ecfm)# end Your Product# ``` CCM interval with 3.3 milliseconds ``` Your Product# configure terminal Your Product(config)# ethernet cfm cc level 4 vlan 7 interval three-hundred-hertz Your Product(config)# end Your Product# ``` Create DOWN MEP with MEP ID 17 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/1 Your Product(config-if)# ethernet cfm mep level 4 mpid 17 vlan 6 active Your Product(config-ether-mep)# end Your Product# ``` Enable DOWN MEP CCM at level 2 on VLAN 6 ``` Your Product# configure terminal Your Product(config)# switch default Your Product(config-switch)# ethernet cfm cc enable level 4 vlan 7 Your Product(config-switch)# end ``` **To check MEP Status** ``` Your Product# show ethernet cfm service ``` **To check MEP Defects/Alarm raised** ``` Your Product# show eth cfm errors ``` **To check list of local MEP created on DUT.** ``` Your Product# show ethernet cfm maintenance-points local ``` **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)