Verifying the configuration, Configuring basic cfd settings – H3C Technologies H3C S12500-X Series Switches User Manual

Page 30

Advertising
background image

22

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

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

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

# On Device B, enable the sending of CCM frames for MEP 2001 in service instance 2 on
Ten-GigabitEthernet 1/0/3.

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

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

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

# On Device D, enable the sending of CCM frames for MEP 4001 in service instance 2 on
Ten-GigabitEthernet 1/0/1, and enable the sending of CCM frames for MEP 4002 in service

instance 1 on Ten-GigabitEthernet 1/0/3.

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

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

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

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

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

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

# On Device E, enable the sending of CCM frames for MEP 5001 in service instance 1 on

Ten-GigabitEthernet 1/0/4.

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

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

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

Verifying the configuration

1.

Verify the LB function:
When the CC function detects a link fault, use the LB function to locate the fault.
# Enable LB on Device A to check the status of the link between MEP 1001 and MEP 5001 in
service instance 1.

[DeviceA] cfd loopback service-instance 1 mep 1001 target-mep 5001

Loopback to 0010-fc00-6515 with the sequence number start from 1001-43404:

Reply from 0010-fc00-6515: sequence number=1001-43404 time=5ms

Reply from 0010-fc00-6515: sequence number=1001-43405 time=5ms

Reply from 0010-fc00-6515: sequence number=1001-43406 time=5ms

Reply from 0010-fc00-6515: sequence number=1001-43407 time=5ms

Reply from 0010-fc00-6515: sequence number=1001-43408 time=5ms

Send:5 Received:5 Lost:0

After the whole network status is obtained with the CC function, use the LT function to identify the

paths between source and target MEPs or locate faults.

2.

Verify the LT function:
# Identify the path between MEP 1001 and MEP 5001 in service instance 1 on Device A.

[DeviceA] cfd linktrace service-instance 1 mep 1001 target-mep 5001

Linktrace to MEP 5001 with the sequence number 1001-43462:

MAC Address TTL Last MAC Relay Action

0010-fc00-6515 63 0010-fc00-6512 Hit

Advertising