measure-point

Function

The measure-point command configures a measurement point for collecting Y.1731 statistics.

The undo measure-point command restores the default configuration.

By default, a measurement point for collecting Y.1731 statistics is a PW interface.

Format

measure-point mep mep-id { ac | pw }

undo measure-point mep mep-id

Parameters

Parameter Description Value
ac

Indicates that the measurement point is an AC interface.

-

pw

Indicates that the measurement point is a PW interface.

-

mep mep-id

Specifies the ID of a MEP.

The value is an integer ranging from 1 to 8191.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 write

Usage Guidelines

Usage Scenario

To use Y.1731 to collect link performance statistics on the PW side in VLL networking, run the measure-point command to configure a measurement point for collecting Y.1731 statistics.

Prerequisites

An MD has been created using the cfm md command, and an MA has been created using the ma command.

Example

# Configure an AC interface as the Y.1731 measurement point.
<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] measure-point mep 1 ac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >