The mpls oam bidirectional-tunnel enable command enables MPLS OAM to monitor static bidirectional co-routed LSPs.
The undo mpls oam bidirectional-tunnel enable command disables MPLS OAM from monitoring static bidirectional co-routed LSPs.
By default, MPLS OAM is disabled monitoring static bidirectional co-routed LSPs.
Parameter | Description | Value |
---|---|---|
send |
Enables a local device to send MPLS OAM packets. |
- |
receive |
Enables a local device to receive MPLS OAM packets. |
- |
tunnel-type |
Specifies the type of a tunnel. |
- |
tunnel-number |
Specifies the number of a tunnel. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
tunnel-name |
Specifies the name of a tunnel. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
Usage Scenario
MPLS OAM can monitor the connectivity of static bidirectional co-routed LSPs and is widely used in IPRAN scenarios.
The mpls oam bidirectional-tunnel command sets MPLS OAM parameters. The auto-protocol parameter configured in that command enables the OAM auto protocol. If that parameter is not configured, the mpls oam bidirectional-tunnel enable command must be run additionally with the following parameter combinations to enable MPLS OAM to monitor static bidirectional co-routed LSPs:Prerequisites
MPLS OAM parameters have been configured using the mpls oam bidirectional-tunnel command with the auto-protocol parameter not specified.
Configuration Impact
To prevent detection errors, specify send and then receive when enabling MPLS OAM, or specify receive and then send when disabling MPLS OAM.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls oam [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface tunnel 10 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] mpls te signal-protocol cr-static [*HUAWEI-Tunnel10] mpls te bidirectional [*HUAWEI-Tunnel10] quit [*HUAWEI] mpls-oam [*HUAWEI-mpls-oam] mpls oam bidirectional-tunnel Tunnel 10 type ffd frequency 3 [*HUAWEI-mpls-oam] mpls oam bidirectional-tunnel enable send Tunnel 10