The loss-measure single-ended-synthetic trigger if-down command triggers an interface to go ETHOAM down when the near- or far-end frame loss ratio based on a test instance ID exceeds a specified threshold.
The undo loss-measure single-ended-synthetic trigger if-down command restores the default configuration.
By default, an interface is not triggered to go ETHOAM down when the near- or far-end frame loss ratio based on a test instance ID exceeds a specified threshold.
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 { local-ratio-threshold | remote-ratio-threshold } test-id test-id trigger if-down
undo loss-measure single-ended-synthetic { local-ratio-threshold | remote-ratio-threshold } test-id test-id trigger if-down
Parameter | Description | Value |
---|---|---|
local-ratio-threshold | Indicates that an interface is triggered to go ETHOAM down when the near-end frame loss ratio exceeds a specified threshold. | - |
remote-ratio-threshold | Indicates that an interface is triggered to go ETHOAM down when the far-end frame loss ratio exceeds a specified threshold. | - |
test-id test-id | Specifies the ID of a test instance. | The value is an integer that ranges from 1 to 4294967295. |
Usage Scenario
When no service is bound to the MA, the interface where the MEP resides is an Eth-Trunk interface's primary member interface. To ensure the quality of the primary link, run the loss-measure single-ended-synthetic trigger if-down command on the interface where the MEP resides. If the near- or far-end frame loss ratio based on a test instance ID exceeds the threshold configured using the loss-measure single-ended-synthetic local-ratio-threshold test-id or loss-measure single-ended-synthetic remote-ratio-threshold test-id command, the primary link has poor quality. In this case, the interface is triggered to go ETHOAM down, triggering a primary/secondary Eth-Trunk link switchover.
Prerequisites
A test instance has been created using the test-id command in the MA view.
# Trigger the Eth-Trunk member interface GE 0/0/1 to go ETHOAM down when the near-end frame loss ratio based on a test instance ID of 2 exceeds a specified threshold.
<HUAWEI> system-view [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] mep mep-id 8 interface gigabitethernet 0/0/1 outward [HUAWEI-md-md1-ma-ma1] remote-mep mep-id 9 [HUAWEI-md-md1-ma-ma1] test-id 2 mep 8 remote-mep 9 [HUAWEI] interface eth-trunk 1 [HUAWEI-Eth-Trunk1] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] eth-trunk 1 [HUAWEI-GigabitEthernet0/0/1] loss-measure single-ended-synthetic local-ratio-threshold test-id 2 trigger if-down