reset mpls oam statistic-type l2vc

Function

The reset mpls oam statistic-type l2vc command clears MPLS OAM performance statistics for a PW.

Format

reset mpls oam statistic-type { lost-measure single-ended | delay-measure two-way } l2vc peer-ip peer-ip-value vc-id vc-id-value vc-type vc-type-value

Parameters

Parameter Description Value
lost-measure

Clears statistics about frame loss measurement.

-

single-ended

Clears statistics about single-ended frame loss measurement.

-

delay-measure

Clears statistics about frame delay measurement.

-

two-way

Clears statistics about two-way frame delay measurement.

-

peer-ip peer-ip-value

Specifies the destination IP address of a PW.

The value is in dotted decimal notation.

vc-id vc-id-value

Specifies the PW ID.

The value is an integer ranging from 1 to 4294967295.

vc-type vc-type-value

Specifies the type of a remote L2VC.

Encapsulation types supported:
  • Other encapsulation types:
    • cep: This encapsulation type is used for CEP services.
    • ethernet: This encapsulation type is used when Ethernet packets do not carry VLAN information.
    • ip-interworking: This encapsulation type is used for interworking between Huawei devices.
    • ip-layer2: This encapsulation type is used for interworking between Huawei devices and non-Huawei devices.
    • vlan: This encapsulation type is used when Ethernet packets carry VLAN information.

Views

MPLS-OAM view, System view, Maintenance entity group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

  • To clear statistics about single-ended frame loss measurement, run the reset mpls oam statistic-type lost-measure single-ended l2vc peer-ip peer-ip vc-id vc-id vc-type vc-type command.
  • To clear statistics about two-way frame delay measurement, run the reset mpls oam statistic-type delay-measure two-way l2vc peer-ip peer-ip vc-id vc-id vc-type vc-type command.

Example

# Clear statistics about single-ended frame loss measurement.
<HUAWEI> system-view
[~HUAWEI] reset mpls oam statistic-type lost-measure single-ended l2vc peer-ip 2.2.2.2 vc-id 11 vc-type vlan
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic