beautypg.com

Configuring mpls ping for lsps, Configuring mpls tracert for lsps, Configuring bfd for lsps – H3C Technologies H3C S6800 Series Switches User Manual

Page 427

background image

414

Configuring MPLS ping for LSPs

Perform the following task in any view:

Task Command

Use MPLS ping to verify MPLS LSP connectivity
for an IPv4 prefix.

ping mpls [ -a source-ip | -c count | -exp exp-value | -h
ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s

packet-size | -t time-out | -v ] * ipv4 dest-addr mask-length
[ destination start-address [ end-address

[ address-increment ] ] ]

Configuring MPLS tracert for LSPs

Perform the following task in any view:

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
dest-addr mask-length [ destination start-address [ end-address

[ address-increment ] ] ]

Configuring BFD for LSPs

To configure BFD for an LSP, configure both the local and remote devices as described in

Table 36

.

Table 36 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, configure an MPLS LSR ID for the local device and 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.

{

Create a BFD session for each LSP without specifying a next hop.