beautypg.com

Protocols and standards, Cfd configuration task list – H3C Technologies H3C S12500-X Series Switches User Manual

Page 29

background image

21

[DeviceB] cfd md MD_B level 3

[DeviceB] cfd service-instance 2 ma-id vlan-based md MD_B vlan 100

Configure Device D as you configure Device B.
# Create MD_B (level 3) on Device C, and create service instance 2 (in which the MA is identified
by a VLAN and serves VLAN 100).

[DeviceC] cfd md MD_B level 3

[DeviceC] cfd service-instance 2 ma-id vlan-based md MD_B vlan 100

4.

Configure MEPs:
# On Device A, configure a MEP list in service instance 1; create inward-facing MEP 1001 in
service instance 1 on Ten-GigabitEthernet 1/0/1.

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

[DeviceA] interface ten-gigabitethernet 1/0/1

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

[DeviceA-Ten-GigabitEthernet1/0/1] quit

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

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

[DeviceB] cfd meplist 2001 4001 service-instance 2

[DeviceB] interface ten-gigabitethernet 1/0/3

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

[DeviceB-Ten-GigabitEthernet1/0/3] quit

# On Device D, configure a MEP list in service instances 1 and 2, create outward-facing MEP

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

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

[DeviceD] cfd meplist 2001 4001 service-instance 2

[DeviceD] interface ten-gigabitethernet 1/0/1

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

[DeviceD-Ten-GigabitEthernet1/0/1] quit

[DeviceD] interface ten-gigabitethernet 1/0/3

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

[DeviceD-Ten-GigabitEthernet1/0/3] quit

# On Device E, configure a MEP list in service instance 1; create inward-facing MEP 5001 in

service instance 1 on Ten-GigabitEthernet 1/0/4.

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

[DeviceE] interface ten-gigabitethernet 1/0/4

[DeviceE-Ten-GigabitEthernet1/0/4] cfd mep 5001 service-instance 1 inbound

[DeviceE-Ten-GigabitEthernet1/0/4] quit

5.

Configure MIPs:
# Configure the MIP generation rule in service instance 1 on Device B as explicit.

[DeviceB] cfd mip-rule explicit service-instance 1

# Configure the MIP generation rule in service instance 2 on Device C as default.

[DeviceC] cfd mip-rule default service-instance 2

6.

Configure CC:
# On Device A, enable the sending of CCM frames for MEP 1001 in service instance 1 on
Ten-GigabitEthernet 1/0/1.