H3C Technologies H3C S10500 Series Switches User Manual

Page 37

Advertising
background image

28

# Create MD_A (level 5) on Device B, create MA_A, which serves VLAN 100, in MD_A, and then create

service instance 1 for MD_A and MA_A. In addition, create MD_B (level 3), create MA_B, which serves

VLAN 100, in MD_B, and then create service instance 2 for MD_B and MA_B.

[DeviceB] cfd md MD_A level 5

[DeviceB] cfd ma MA_A md MD_A vlan 100

[DeviceB] cfd service-instance 1 md MD_A ma MA_A

[DeviceB] cfd md MD_B level 3

[DeviceB] cfd ma MA_B md MD_B vlan 100

[DeviceB] cfd service-instance 2 md MD_B ma MA_B

Configure Device D as you configure Device B.
# Create MD_B (level 3) on Device C, create MA_B, which serves VLAN 100, in MD_B, and then create

service instance 2 for MD_B and MA_B.

[DeviceC] cfd md MD_B level 3

[DeviceC] cfd ma MA_B md MD_B vlan 100

[DeviceC] cfd service-instance 2 md MD_B ma MA_B

4.

Configure MEPs.

# On Device A, configure a MEP list in service instance 1. Create and enable inward-facing MEP 1001

in service instance 1 on GigabitEthernet 1/0/1.

[DeviceA] cfd meplist 1001 4002 5001 service-instance 1

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] cfd mep 1001 service-instance 1 inbound

[DeviceA-GigabitEthernet1/0/1] cfd mep service-instance 1 mep 1001 enable

[DeviceA-GigabitEthernet1/0/1] quit

# On Device B, configure a MEP list in service instances 1 and 2, respectively. Create and enable
outward-facing MEP 2001 in service instance 2 on GigabitEthernet 1/0/3.

[DeviceB] cfd meplist 1001 4002 5001 service-instance 1

[DeviceB] cfd meplist 2001 4001 service-instance 2

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] cfd mep 2001 service-instance 2 outbound

[DeviceB-GigabitEthernet1/0/3] cfd mep service-instance 2 mep 2001 enable

[DeviceB-GigabitEthernet1/0/3] quit

# On Device D, configure a MEP list in service instances 1 and 2, respectively. Create and enable

outward-facing MEP 4001 in service instance 2 on GigabitEthernet 1/0/1, and then create and enable
inward-facing MEP 4002 in service instance 1 on GigabitEthernet 1/0/3.

[DeviceD] cfd meplist 1001 4002 5001 service-instance 1

[DeviceD] cfd meplist 2001 4001 service-instance 2

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] cfd mep 4001 service-instance 2 outbound

[DeviceD-GigabitEthernet1/0/1] cfd mep service-instance 2 mep 4001 enable

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/3

[DeviceD-GigabitEthernet1/0/3] cfd mep 4002 service-instance 1 inbound

[DeviceD-GigabitEthernet1/0/3] cfd mep service-instance 1 mep 4002 enable

[DeviceD-GigabitEthernet1/0/3] quit

# On Device E, configure a MEP list in service instance 1. Create and enable inward-facing MEP 5001
in service instance 1 on GigabitEthernet 1/0/4.

Advertising