mpls oam egress enable

Function

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

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

By default, MPLS OAM is disabled.

Format

mpls oam egress enable { lsp-name lsp-name | lsr-id ingress-lsr-id tunnel-id tunnel-id }

undo mpls oam egress enable { lsp-name lsp-name | lsr-id ingress-lsr-id tunnel-id tunnel-id }

Parameters

Parameter Description Value
lsp-name lsp-name

Specifies the name of an LSP.

The value is a string of 1 to 19 characters, spaces not supported.

If quotation marks are used at both ends of an entered character sting, you can enter spaces in the string.

lsr-id ingress-lsr-id

Specifies the IP address of the ingress of an LSP.

The value is in dotted decimal notation.

tunnel-id tunnel-id

Specifies the tunnel ID of an LSP.

The value is an integer and the value range is 1 to 65535.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

Usage Scenario

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

Precautions

If OAM auto protocol extension has been enabled, you do not need to run the mpls oam egress enable command.

Example

# Enable MPLS OAM on the egress.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls oam
[*HUAWEI-mpls] quit
[~HUAWEI] mpls oam egress lsr-id 1.1.1.1 tunnel-id 10
[*HUAWEI] mpls oam egress enable lsr-id 1.1.1.1 tunnel-id 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >