The loss-measure single-ended send command enables on-demand single-ended packet loss measurement.
By default, on-demand single-ended packet loss measurement is disabled.
Parameter | Description | Value |
---|---|---|
test-id test-id |
Specifies the ID of a test instance. |
The value is an integer ranging from 1 to 4294967295. |
interval |
Specifies the interval at which Loss Measurement Messages (LMMs) are sent. |
The value is 1000 or 10000. |
count count-value |
Specifies the number of the single-ended frame loss measurement operations. |
The value is an integer ranging from 1 to 60. |
Usage Scenario
On-demand OAM refers to OAM actions which are initiated via manual intervention for a limited time to carry out diagnostics. On-demand OAM can result in singular or periodic OAM actions during the diagnostics time interval. Single-ended LMMs can be used for packet loss measurement in on-demand OAM.
To implement singular or periodic packet loss measurement, you can run this command.Prerequisites
The command takes effect only after the following configurations are complete:
Configuration Impact
After the configuration is complete, on-demand single-ended frame loss measurement is implemented.
Precautions
Configuring on-demand single-ended frame loss measurement involves the setting of the remote MEP ID or destination MAC address, interval at which LMMs are sent, and measurement period.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] undo shutdown [*HUAWEI-GigabitEthernet0/1/1] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] map mpls l2vc 2.2.2.2 100 raw [*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet0/1/1 inward [*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 mac 00e0-fc12-7890 [*HUAWEI-md-md1-ma-ma1] loss-measure single-ended send test-id 1 interval 10000 count 60