The loss-measure single-ended continual send command enables proactive single-ended frame loss measurement.
The undo loss-measure single-ended continual send command cancels the configuration.
By default, proactively single-ended frame loss measurement is disabled.
Parameter | Description | Value |
---|---|---|
interval |
Specifies the interval at which LMMs are sent. |
The value is 60000, 30000, 10000, 1000 milliseconds. |
period period |
Specifies the interval at which statistics are collected. |
The value is an integer ranging from 1 to 65535, in seconds. The default value is 900. |
test-id test-id-value |
Specifies the ID of a test instance. |
The value is an Integer ranging from 1 to 4294967295. |
Usage Scenario
Proactive OAM refers to OAM actions which are carried out continuously to permit proactive reporting of faults or performance results. Proactive OAM enables a device to keep periodically collecting packet loss statistics about a service flow on a link. To enable this function, run the loss-measure single-ended continual command. Configuring proactive single-ended frame loss measurement involves the setting of the remote MEP ID or destination MAC address, and interval at which LMMs are sent are specified. - If the local MEP has not learned the MAC address of the remote MEP, you must specify the destination MAC address for single-ended frame loss measurement. - If the local MEP has learned the MAC address of the remote MEP, you can specify the remote MEP ID for single-ended frame loss measurement.
Prerequisites
The loss-measure single-ended continual command takes effect only after the following configurations are complete:
Configuration Impact
After the configuration is complete, proactive single-ended frame loss measurement is implemented for links.
<HUAWEI> system-view [~HUAWEI] mpls lsr-id 1.1.1.1 [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] cfm enable [*HUAWEI] commit [~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 GigabitEthernet 0/1/0 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 8021p 4 [*HUAWEI-md-md1-ma-ma1] loss-measure single-ended continual send test-id 1 interval 30000 period 600