mpls te bfd enable auto-primary-tunnel (MPLS view)

Function

The mpls te bfd enable auto-primary-tunnel command enables BFD for TE LSP globally for a primary tunnel that is automatically established.

The undo mpls te bfd enable auto-primary-tunnel command restores the default path calculation function.

By default, BFD for TE LSP is disabled globally for a primary tunnel that is automatically established.

Format

mpls te bfd enable auto-primary-tunnel { pce-initiated-lsp | segment-routing }

undo mpls te bfd enable auto-primary-tunnel { pce-initiated-lsp | segment-routing }

Parameters

Parameter Description Value
pce-initiated-lsp

Indicates an RSVP-TE tunnel.

-

segment-routing

Indicates an SR-MPLS TE tunnel.

-

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

PCEP can trigger the establishment of RSVP-TE and SR-MPLS TE LSPs:

  • To enable BFD for RSVP-TE LSPs, run the mpls te bfd enable auto-primary-tunnel pce-initiated-lsp command.
  • To enable BFD for SR-MPLS TE LSPs, run the mpls te bfd enable auto-primary-tunnel segment-routing command.

Example

# Enable the BFD for SR-MPLS TE LSP function for a primary tunnel that is automatically established.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te bfd enable auto-primary-tunnel segment-routing
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >