The delay-measure two-way trigger if-down command triggers an interface to go ETHOAM down when the delay or delay variation based on a test instance ID exceeds a specified threshold.
The undo delay-measure two-way trigger if-down command restores the default configuration.
By default, an interface is not triggered to go ETHOAM down when the delay or delay variation 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.
delay-measure two-way { delay-threshold | variation-threshold } test-id test-id trigger if-down
undo delay-measure two-way { delay-threshold | variation-threshold } test-id test-id trigger if-down
Parameter | Description | Value |
---|---|---|
delay-threshold | Indicates that an interface is triggered to go ETHOAM down when the delay exceeds a specified threshold. | - |
variation-threshold | Indicates that an interface is triggered to go ETHOAM down when the delay variation 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 delay-measure two-way trigger if-down command on the interface where the MEP resides. If the delay or delay variation based on a test instance ID exceeds the threshold configured using the delay-measure two-way delay-threshold test-id or delay-measure two-way variation-threshold test-id command, the primary link has poor quality. In this case, the interface is triggered to go ETHOAM down, triggering an active/standby 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 Down when the two-way delay 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] delay-measure two-way delay-threshold test-id 2 trigger if-down