cfd slm
Use cfd slm to enable loss measurement (LM). The LM function measures the frame loss between the source and target MEPs by using LMM frames and LMR frames.
Syntax
cfd slm service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ]
Views
Any view
Predefined user roles
network-admin
Parameters
service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.
mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.
target-mac mac-address: Specifies the target MEP by its MAC address, which is in the format of H-H-H.
target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.
number number: Specifies the number of LMM frames to be sent. The value range for the number argument is 2 to 10, and the default is 5.
Examples
# Enable the LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.
<Sysname> cfd slm service-instance 1 mep 1101 target-mep 2001 Reply from 0010-fc00-6512 Far-end frame loss: 10 Near-end frame loss: 20 Reply from 0010-fc00-6512 Far-end frame loss: 40 Near-end frame loss: 40 Reply from 0010-fc00-6512 Far-end frame loss: 0 Near-end frame loss: 10 Reply from 0010-fc00-6512 Far-end frame loss: 30 Near-end frame loss: 30 Average Far-end frame loss: 20 Near-end frame loss: 25 Far-end frame loss rate: 25.00% Near-end frame loss rate: 32.00% Sent LMMs: 5 Received: 5 Lost: 0
Table 10: Command output
Field | Description |
---|---|
Reply from 0010-fc00-6512 | LMR frames returned from the target MEP with MAC address 0010-FC00-6512. |
Far-end frame loss | Number of lost frames on the target MEP. |
Near-end frame loss | Number of lost frames on the source MEP. |
Far-end frame loss rate | Frame loss ratio on the target MEP. |
Near-end frame loss rate | Frame loss ratio on the source MEP. |
Average | Average number of lost frames. |
Sent LMMs | Number of sent LMM frames. |
Received | Number of received LMR frames. |
Lost | Number of lost LMR frames. |