The loss-measure single-ended-synthetic receive command enables a device to receive synthetic loss measurement (SLM) frames for single-ended SLM.
The undo loss-measure single-ended-synthetic receive command disables the device from receiving SLM frames.
By default, no device in a maintenance association (MA) is enabled to receive SLM frames.
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
loss-measure single-ended-synthetic receive test-id test-id [ time-out timeout-value ]
undo loss-measure single-ended-synthetic receive test-id test-id
Parameter | Description | Value |
---|---|---|
test-id test-id | Specifies the ID of a test instance. | The value is an integer that ranges from 1 to 4294967295. |
time-out timeout-value | Specifies the timeout period for the receive end to receive SLM frames. | The value is an integer that ranges from 10 to 300, in seconds. The default value is 300. |
Usage Scenario
After the loss-measure single-ended-synthetic send command is run to configure on-demand single-ended SLM or the loss-measure single-ended-synthetic continual send command is run to configure proactive single-ended SLM, run the loss-measure single-ended-synthetic receive command to enable the device to receive SLM frames.
Prerequisites
A test instance has been created using the test-id command in the MA view.
Precautions
If you delete or modify the configuration on the receive end more than once, the statistical data may become incorrect. Therefore, do not delete or modify the statistical task after the configuration is complete.
To modify the configuration, disable the device from receiving SLM frames and then perform reconfiguration.
For a proactive single-ended SLM task, set time-out on the receive end to a value greater than the value of interval on the transmit end.
# Configure the remote end to receive SLM frames, set the value of test id to 1, and set the timeout period for the receive end to receive SLM frames to 200s.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type trunk [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 [HUAWEI-GigabitEthernet0/0/1] quit [HUAWEI] set service-mode enhanced Warning: This command will effect forward performance. Continue? [Y/N]:y [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] map vlan 100 [HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface gigabitethernet 0/0/1 inward [HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2 [HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 remote-mep 2 [HUAWEI-md-md1-ma-ma1] loss-measure single-ended-synthetic receive test-id 1 time-out 200