6-11Figure 6-5 Network diagram for MD configurationConfiguration procedure1) Configuration on Device A (configuration on Device E is the same as that on Device A) system-view[DeviceA] cfd enable[DeviceA] cfd md MD_A level 5[DeviceA] cfd ma MA_MD_A md MD_A vlan 100[DeviceA] cfd service-instance 1 md MD_A ma MA_MD_A2) Configuration on Device C system-view[DeviceC] cfd enable[DeviceC] cfd md MD_B level 3[DeviceC] cfd ma MA_MD_B md MD_B vlan 100[DeviceC] cfd service-instance 2 md MD_B ma MA_MD_B3) Configuration on Device B (configuration on Device D is the same as that on Device B) system-view[DeviceB] cfd enable[DeviceB] cfd md MD_A level 5[DeviceB] cfd ma MA_MD_A md MD_A vlan 100[DeviceB] cfd service-instance 1 md MD_A ma MA_MD_A[DeviceB] cfd md MD_B level 3[DeviceB] cfd ma MA_MD_B md MD_B vlan 100[DeviceB] cfd service-instance 2 md MD_B ma MA_MD_BAfter the above configuration, you can use the commands display cfd md, display cfd ma anddisplay cfd service-instance to verify your configuration.Configuring MEP and Enabling CC on itNetwork requirementsAfter finishing service instance configuration, you can start to design the MEPs.z MEPs are configured at the edge or border of MDs. Find the edge port of each MD.z Decide the MEP direction (inward-facing or outward-facing) on each edge port based on the MDposition.z Assign a unique ID to each MEP in an MA.