418
•
On a BFD session established in static mode, the ingress node and egress node both operate in
active mode. On a BFD session established in dynamic mode, the egress node operates in active
mode and the ingress node operates in passive mode. Executing the
bfd session init-mode
command on the ingress or egress node does not change the node's operating mode.
To configure BFD for LSPs:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable BFD for MPLS.
mpls bfd enable
By default, BFD for MPLS is
disabled.
3.
Configure BFD to verify LSP
connectivity for an FEC.
mpls bfd
dest-addr
mask-length
[
nexthop
nexthop-address
[
discriminator local
local-id
remote
remote-id
] ] [
template
template-name
]
By default, BFD is not configured to
verify LSP connectivity for an FEC.
Configuring periodic MPLS tracert for LSPs
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable BFD for
MPLS.
mpls bfd enable
By default, BFD for MPLS is
disabled.
3.
Enable periodic LSP
tracert for an FEC.
mpls periodic-tracert
dest-addr mask-length
[
-a
source-ip
|
-exp
exp-value
|
-h
ttl-value
|
-m
wait-time
|
-rtos
tos-value
|
-t
time-out
|
-u
retry-attempt
|
fec-check
] *
By default, periodic LSP tracert is
disabled.
Configuring MPLS OAM for MPLS TE tunnels
MPLS OAM only supports BFD for MPLS TE tunnel connectivity verification.
To run BFD on an MPLS TE tunnel, configure both the local and remote devices as described in
Table 37
Configurations on the local and remote devices
BFD session
establishment
mode
Node type Execute the "mpls bfd
enable" command?
Execute the
"mpls bfd"
command?
Configure the
discriminator keyword?
Static mode
Local Yes
Yes
Yes
Remote Yes
Yes
Yes
Dynamic mode
Local Yes
Yes
No
Remote Yes
No
N/A
Follow these guidelines to configure BFD for an MPLS TE tunnel: