The loss-measure single-ended-synthetic remote-ratio-threshold test-id command configures remote packet loss ratio thresholds for single-ended synthetic loss measurement (SLM).
The undo loss-measure single-ended-synthetic remote-ratio-threshold test-id command deletes the remote packet loss ratio thresholds configured for single-ended SLM.
By default, no remote packet loss ratio thresholds are configured for single-ended SLM.
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 remote-ratio-threshold test-id test-id upper-limit upper-limit lower-limit lower-limit
undo loss-measure single-ended-synthetic remote-ratio-threshold test-id test-id [ upper-limit upper-limit lower-limit lower-limit ]
Parameter | Description | Value |
---|---|---|
test-id | Specifies the ID of a test instance. |
The value is an integer ranging from 1 to 4294967295. |
upper-limit upper-limit | Specifies an upper remote packet loss ratio threshold for single-ended SLM. | The value is a string of 1 to 8 characters in the format of xxx.xxxx, in percentages. |
lower-limit lower-limit | Specifies a lower remote packet loss ratio threshold for single-ended SLM. | The value is a string of 1 to 8 characters in the format of xxx.xxxx, in percentages. The lower remote packet loss ratio threshold must be less than the upper remote packet loss ratio threshold. |
Usage Scenario
In a point-to-multipoint or multipoint-to-multipoint scenario, you can run this command to configure remote packet loss ratio thresholds for single-ended SLM. After the thresholds are configured, you can obtain data such as the number of times that a threshold-crossing event occurs.
Prerequisites
A test instance has been created using the test-id command in the MA view.
Precautions
Thresholds can be configured only for proactive single-ended SLM and cannot be configured for on-demand single-ended SLM.
# Set lower and upper remote packet loss ratio thresholds for single-ended SLM to 10.1111 and 11.1111 respectively for test instance 1.
<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 remote-ratio-threshold test-id 1 upper-limit 11.1111 lower-limit 10.1111