The delay-measure one-way continual command configures proactive one-way frame delay measurement.
The undo delay-measure one-way continual command cancels the configuration.
By default, proactive one-way frame delay measurement is not configured in an MA.
delay-measure one-way continual send mep mep-id { mac mac-address | remote-mep mep-id } interval { 1000 | 10000 | 30000 | 60000 | 150000 | 300000 }
undo delay-measure one-way continual send [ mep mep-id ]
Parameter | Description | Value |
---|---|---|
mep mep-id | Specifies the ID of a MEP. | The value is an integer in the range from 1 to 8191. |
mac mac-address | Specifies the MAC address of an RMEP. | - |
remote-mep mep-id | Specifies the ID of an RMEP. | The value is an integer in the range from 1 to 8191. |
interval { 1000 | 10000 | 30000 | 60000 | 150000 | 300000 } | Specifies the interval at which DM frames are sent. | The value is 1000, 10000, 30000, 60000, 150000, and 300000, in milliseconds. |
Usage Scenario
Proactive OAM indicates that OAM actions are carried out continuously.
One-way frame delay measurement is implemented between two MEPs by exchanging DM frames. A MEP periodically sends DM frames carrying TxTimeStampf. After receiving a DM frame, the RMEP parses TxTimeStampf and compares this value with RxTimef (the time when the 1DM frame was received). The RMEP calculates the one-way frame delay based on these values using the following formula: Frame delay = RxTimef - TxTimeStampf
When clocks of the MEPs at both ends of a link are synchronized, the delay-measure one-way continual command can be used to implement proactive one-way frame delay measurement for a VLAN.
If the local MEP has not learned the RMEP MAC address, you must specify the destination MAC address for frame delay measurement.
If the local MEP has learned the RMEP MAC address, you can specify the RMEP ID for frame delay measurement.
Prerequisites
Precautions
IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007.
One-way frame delay measurement can be implemented only after the MEP synchronizes the time with its RMEP.
If the configuration changes during on-demand statistics, you can view only the pre-change statistics results. You are advised to run the command for on-demand statistics again for query.
# In a VLAN, enable proactive one-way frame delay measurement and set the destination MAC address to 01-22-33 and the interval at which DM frames are sent to 1000 ms.
<HUAWEI> system-view [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] map vlan 2 [HUAWEI-md-md1-ma-ma1] delay-measure one-way continual send mep 1 mac 01-22-33 interval 1000
# In a VLAN, enable proactive one-way frame delay measurement and set the RMEP ID to 2 and the interval at which DM frames are sent to 1000 ms.
<HUAWEI> system-view [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] map vlan 2 [HUAWEI-md-md1-ma-ma1] delay-measure one-way continual send mep 1 remote-mep 2 interval 1000