The delay-measure two-way delay-threshold test-id command configures alarm thresholds for two-way proactive frame delay measurement (DM).
The undo delay-measure two-way delay-threshold test-id command deletes the alarm thresholds configured for two-way proactive frame DM.
By default, no alarm thresholds are configured for two-way proactive frame DM.
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 test-id test-id upper-limit upper-limit lower-limit lower-limit
undo delay-measure two-way delay-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 alarm threshold for two-way proactive frame DM. | The value is an integer ranging from 0 to 4294967295, in microseconds. |
lower-limit lower-limit | Specifies a lower alarm threshold for two-way proactive frame DM. | The value is an integer ranging from 0 to 4294967295, in microseconds. The lower alarm threshold must be less than the upper alarm threshold. |
Usage Scenario
To configure upper and lower alarm thresholds for two-way proactive frame DM that monitors link quality, run the delay-measure two-way delay-threshold test-id command. After configuring upper and lower alarm thresholds, you can obtain data (such as the number of times that a threshold-crossing event occurs) within a sampling period to monitor network performance.
Prerequisites
A test instance has been created using the test-id command in the MA view.
Precautions
Thresholds can be configured only for two-way proactive frame DM and cannot be configured for two-way on-demand frame DM.
# Set lower and upper alarm thresholds for two-way proactive frame DM in VLAN scenarios to 200 microseconds and 400 microseconds, respectively.
<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] mep ccm-send enable [HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive enable [HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 remote-mep 2 [HUAWEI-md-md1-ma-ma1] delay-measure two-way delay-threshold test-id 1 upper-limit 400 lower-limit 200