Configuring Two-way Frame Delay Measurement
Context
To measure the two-way frame delay at a time or a specific number of times, use the on-demand mode.
To measure the two-way frame delay periodically, use the proactive mode.
Procedure
- Configure on-demand two-way frame delay measurement.
Perform the following operations on the MEP and RMEP.
Run system-view
The system view is displayed.
Run cfm md md-name
The MD view is displayed.
Run ma ma-name
The MA view is displayed.
Run map vlan vlan-id
The MA is bound to a VLAN.
Run mep mep-id mep-id interface interface-type interface-number [ pe-vid pe-vid ce-vid ce-vid ] { inward | outward }
An MEP is configured.
Run remote-mep mep-id mep-id [ mac mac-address ]
The remote MEP ID is configured.
Run mep ccm-send [ mep-id mep-id ] enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
(Optional) Run delay-measure two-way threshold threshold-value
The alarm threshold for two-way frame delay measurement is set.
On the receiver RMEP, perform the following operation:
Run delay-measure two-way receive mep mep-id
The RMEP is enabled to receive DMMs.
By default, the RMEP in an MA is not enabled to receive DMMs.
On the initiator MEP, perform the following operation:
Run delay-measure two-way send mep mep-id { mac mac-address | remote-mep mep-id } interval { 1000 | 10000 } count count-value
On-demand two-way frame delay measurement is configured.
VLAN-specific two-way frame delay measurement is implemented based on an RMEP ID or destination MAC address:If the local MEP has not learnt the MAC address of the RMEP, specify the RMEP destination MAC address before implementing two-way frame delay measurement.
If the local MEP has learnt the MAC address of the RMEP, specify the RMEP ID before implementing two-way frame delay measurement.
- Configure proactive two-way frame delay measurement.
Perform the following operations on the MEP and RMEP.
Run system-view
The system view is displayed.
Run cfm md md-name
The MD view is displayed.
Run ma ma-name
The MA view is displayed.
Run map vlan vlan-id
The MA is bound to a VLAN.
Run mep mep-id mep-id interface interface-type interface-number [ pe-vid pe-vid ce-vid ce-vid ] { inward | outward }
An MEP is configured.
Run remote-mep mep-id mep-id [ mac mac-address ]
The remote MEP ID is configured.
Run mep ccm-send [ mep-id mep-id ] enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
(Optional) Run delay-measure two-way threshold threshold-value
The alarm threshold for two-way frame delay measurement is set.
On the receiver RMEP, perform the following operation:
Run delay-measure two-way receive mep mep-id
The RMEP is enabled to receive DMMs.
By default, the RMEP in an MA is not enabled to receive DMMs.
On the initiator MEP, perform the following operation:
Run delay-measure two-way continual send mep mep-id { mac mac-address | remote-mep mep-id } interval 30000
Proactive two-way frame delay measurement is configured.
By default, proactive two-way frame delay measurement is not configured in an MA.
VLAN-specific two-way frame delay measurement is implemented based on an RMEP ID or destination MAC address:If the local MEP has not learnt the MAC address of the RMEP, specify the RMEP destination MAC address before implementing two-way frame delay measurement.
If the local MEP has learnt the MAC address of the RMEP, specify the RMEP ID before implementing two-way frame delay measurement.