The loss-measure single-ended-synthetic continual send command enables proactive single-ended synthetic loss measurement (SLM).
The undo loss-measure single-ended-synthetic continual send command disables proactive single-ended SLM.
By default, proactive single-ended SLM is disabled.
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 continual send test-id test-id interval { 3.3 | 10 | 100 | 1000 | 10000 } [ sending-count count-value ] [ time-out timeout ] [ packet-size packet-size ]
undo loss-measure single-ended-synthetic continual send 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. |
interval { 3.3 | 10 | 100 | 1000 | 10000 } | Specifies the interval at which SLM frames are sent. | Enumerated value, in milliseconds:
|
sending-count count-value | Specifies the times that SLM frames are sent within each measurement period. | The value is an integer ranging from 1 to 1000. The default value is 10. |
timeout timeout | Specifies the timeout period during which the device waits for a response. | The value is an integer ranging from 1 to 10, in seconds. The default value is 5s. |
packet-size packet-size | Specifies the size of the SLM frames. | The value is an integer ranging from 64 to 1518, in bytes. The default value is 64. |
Usage Scenario
To collect accurate frame loss statistics on a point-to-multipoint network, run the loss-measure single-ended-synthetic continual send command to configure proactive single-ended SLM.
Prerequisites
A test instance has been created using the test-id command in the MA view.
# Configure SLM with test id of 1 and statistics collection interval of 10s.
<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 continual send test-id 1 interval 10