361
Task Command
Use MPLS tracert to trace the LSPs for
an IPv4 prefix.
tracert mpls
[
-a source-ip
|
-exp exp-value
|
-h ttl-value
|
-r
reply-mode
|
-rtos
tos-value
|
-t time-out
|
-v
|
fec-check
]
*
ipv4
ipv4-address mask-length
[
destination start-address
[
end-address
[
address-increment
] ] ]
288B
Configuring BFD for LSPs
To configure BFD for an LSP, configure both the local and remote devices as described in
854H
Table 34
.
Table 34 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 LSP tunnel:
•
To establish a static BFD session, ensure that the local and remote discriminators configured
locally are identical with the remote and local discriminators configured on the remote device,
respectively.
•
The source address of the BFD session is the MPLS LSR ID of the local device. Before
configuring BFD for the LSP tunnel, perform the following tasks:
a.
Configure an MPLS LSR ID for the local device.
b.
Make sure a route is available on the remote device to reach the MPLS LSR ID.
•
If multiple LSPs exist for an FEC, you can perform one of the following tasks:
{
Create a BFD session for an LSP by specifying the next hop of the LSP.
This configuration is not available for nested LSP connectivity verification.
{
Create a BFD session for each LSP without specifying a next hop.
•
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.
(Optional.) Remove the
Router Alert option in BFD
packets.
undo bfd ip-router-alert
By default, the device adds the
Router Alert option in BFD
packets.
Execute this command on the
local device if the peer device
cannot identify the Router Alert