cfd dm two-way
Use cfd dm two-way to enable two-way DM. The two-way DM function measures the two-way frame delay between the source and target MEPs by using DMM frames and DMR frames.
Syntax
cfd dm two-way 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 DMM frames to be sent. The value range for the number argument is 2 to 10, and the default is 5.
Examples
# Enable the two-way DM function to test the two-way frame delay between source MEP 1101 and target MEP 2001 in service instance 1.
<Sysname> cfd dm two-way service-instance 1 mep 1101 target-mep 2001 Frame delay: Reply from 0010-fc00-6512: 10ms Reply from 0010-fc00-6512: 9ms Reply from 0010-fc00-6512: 11ms Reply from 0010-fc00-6512: 5ms Reply from 0010-fc00-6512: 5ms Average: 8ms Sent DMMs: 5 Received: 5 Lost: 0 Frame delay variation: 5ms 4ms 6ms 0ms 0ms Average: 3ms
Table 7: Command output
Field | Description |
---|---|
Reply from 0010-fc00-6512 | Delay of the DMR frames returned from the MEP with MAC address 0010-FC00-6512. |
Average | Average frame delay or average frame delay variation. |
Sent DMMs | Number of sent DMM frames . |
Received | Number of received DMR frames. |
Lost | Number of lost DMM frames. |