mpls oam ingress enable

Function

The mpls oam ingress enable command enables MPLS OAM on the ingress of a specified LSP.

The undo mpls oam ingress enable command disables MPLS OAM on the ingress of a specified LSP. The configured MPLS OAM parameters remain after the command is run.

By default, MPLS OAM is disabled on the ingress of an LSP.

Format

mpls oam ingress enable { tunnel-type tunnel-number | tunnel-name }

undo mpls oam ingress enable { tunnel-type tunnel-number | tunnel-name }

Parameters

Parameter Description Value
tunnel-type tunnel-number

Specifies the tunnel type and number.

-

tunnel-name

Specifies the tunnel name.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

Usage Scenario

To enable MPLS OAM parameters configured on the ingress to take effect, run the mpls oam ingress enable command.

Example

# Enable MPLS OAM on Tunnel 10.
<HUAWEI> system-view
[~HUAWEI] interface tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls oam
[*HUAWEI-mpls] quit
[*HUAWEI] mpls oam ingress Tunnel 10 type ffd frequency 100
[*HUAWEI] mpls oam ingress enable Tunnel 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >