Two-way frame delay measurement can be configured when CFM is enabled on an L2VPN connected to an L3VPN to monitor link connectivity and a MEP does not have the time synchronized with that on an RMEP.
Perform the following steps 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 mep mep-id
The MEP is configured.
Run remote-mep mep-id mep-id
An RMEP ID is specified.
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The RMEP is enabled to receive CCMs.
(Optional) Run delay-measure two-way threshold threshold-value
An alarm threshold is set for two-way frame delay measurement.
Configure a test instance.
To configure a test instance on the receiver RMEP, run the test-id test-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
To configure a test instance on the initiator MEP, run the test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ] command.
On each receiver RMEP, run delay-measure two-way receive test-id test-id-value
The RMEP is enabled to receive DMMs.
On each initiator MEP, run delay-measure two-way send test-id test-id-value interval interval-value count count-value
Two-way frame delay measurement is configured.
If a local MEP has not learned the MAC address of the RMEP, specify a destination MAC address before implementing two-way frame delay measurement.
If a local MEP has learned the MAC address of the RMEP, specify the RMEP ID before implementing two-way frame delay measurement.
Run commit
The configuration is committed.
Perform the following steps on the MEP and RMEP:
Run system-view
The system view is displayed.
(Optional) Run y1731 pm-mode enable
Proactive statistics are sent by the PM module to an NMS.
Run cfm md md-name
The MD view is displayed.
Run ma ma-name
The MA view is displayed.
Run mep mep-id
The MEP is configured.
Run remote-mep mep-id mep-id
An RMEP ID is specified.
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The RMEP is enabled to receive CCMs.
(Optional) Run either of the following commands to set an alarm threshold:
Upper and lower thresholds are set for two-way frame delay in proactive two-way frame delay measurement based on a specified MEP.
Upper and lower thresholds are set for two-way frame delay in proactive two-way frame delay measurement based on a specified test instance.
(Optional) Run delay-measure two-way threshold threshold-value
An alarm threshold is set for two-way frame delay measurement.
The delay-measure two-way threshold threshold-value and delay-measure two-way delay-threshold commands are mutually exclusive.
Set alarm thresholds for two-way frame jitter.
Upper and lower thresholds are set for two-way frame jitter in proactive two-way frame delay measurement based on a specified MEP.
Upper and lower thresholds are set for two-way frame jitter in proactive two-way frame delay measurement based on a specified test instance.
Configure a test instance.
To configure a test instance on the receiver RMEP, run the test-id test-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
On each receiver RMEP, run delay-measure two-way receive test-id test-id-value
The RMEP is enabled to receive DMMs.
On each initiator MEP, run delay-measure two-way continual send test-id test-id-value interval interval-value [ period period ]
Proactive two-way frame delay measurement is configured.
Run commit
The configuration is committed.
After completing the configuration, run the display y1731 statistic-type twoway-delay [ test-id test-id-value ] [ count count-value ] command on the MEP that initiates two-way frame delay measurement and verify the configuration.