The bfd bind mpls-te interface command configures a static BFD session with automatically negotiated discriminators to detect a TE tunnel or the primary or backup LSP bound to a TE tunnel.
By default, BFD is disabled for tunnels.
Parameter | Description | Value |
---|---|---|
sessname-value |
Specifies the name of a BFD session. |
The value is a string of 1 to 64 case-insensitive characters, spaces not supported. |
interface tunnel-type tunnel-num |
Specifies the name of a tunnel interface to be bound to a BFD session. |
The interface-type value can only be tunnel. |
tunnel-name |
Specifies the tunnel name. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
reverse-te |
Configures reverse TE tunnel information. |
- |
lsr-id lsr-id |
Specifies a reverse MPLS LSR ID. |
The value is in dotted decimal notation. |
tunnel-id tunnel-id |
Specifies a reverse tunnel ID. |
The value is an integer ranging from 1 to 4294967295. |
auto |
Enables the auto-negotiation function for discriminators. |
- |
Usage Scenario
The bfd bind mpls-te interface command configures a static BFD session with automatically negotiated discriminators to detect a TE tunnel or the primary or backup LSP bound to a TE tunnel.
Prerequisites
Precautions
If the primary or backup LSP bound to a tunnel and detected by BFD is Down, a BFD session can be established but cannot go Up.
If the TE tunnel detected by BFD is Down, a BFD session can be established but cannot go Up.<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface Tunnel 10 [*HUAWEI-Tunnel10] ip address 2.2.2.2 24 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] mpls te tunnel-id 2 [*HUAWEI-Tunnel10] quit [*HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] bfd lsptope2 bind mpls-te interface Tunnel10
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface Tunnel 10 [*HUAWEI-Tunnel10] ip address 2.2.2.2 24 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] mpls te tunnel-id 2 [*HUAWEI-Tunnel10] quit [*HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] bfd lsptope2 bind mpls-te interface Tunnel10 reverse-te lsr-id 1.1.1.1 tunnel-id 1 auto