beautypg.com

Configuring bfd for a pw, Configuring bfd for an mpls l2vpn pw – H3C Technologies H3C S6800 Series Switches User Manual

Page 430

background image

417

2.

Create the PW, and reference the PW class created in the previous step for the PW.

Perform the following task in any view:

Task Command

Use MPLS ping to verify the
connectivity of a PW.

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 ] * pw ip-address pw-id pw-id

Configuring BFD for a PW

Follow these steps to configure BFD for a PW:

1.

Enable BFD for MPLS.

2.

Create a PW class, and configure BFD for PW connectivity verification in PW class view.

3.

Create the PW, and reference the PW class created in the previous step for the PW.

Whether BFD is used to verify PW connectivity, which encapsulation type is used for the BFD packets,

and which CC type is used are determined by the configurations on both ends of the PW.

If both PEs of the PW have configured BFD for the PW and use the same BFD packet encapsulation
type, the PEs use the specified encapsulation type to verify the PW connectivity. Otherwise, the PEs

do not use BFD to verify the PW connectivity.

If both PEs have specified the same VCCV CC type, the specified VCCV CC type is used. Otherwise,
the PEs do not use any CC and they cannot establish a BFD session for the PW.

Configuring BFD for an MPLS L2VPN PW

Perform this task to use BFD to verify the connectivity of a static PW or an LDP PW of MPLS L2VPN:

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.

Create a PW class and enter
PW class view.

pw-class class-name

By default, no PW class is created.
To use BFD to verify connectivity of a
PW, you must create a PW class for

the PW and configure VCCV
settings in PW class view.

4.

Use BFD to verify PW
connectivity.

vccv bfd [ template
template-name ]

By default, BFD is not used to verify
PW connectivity.

5.

Specify the VCCV CC type. vccv cc router-alert

By default, no VCCV CC type is
specified.

6.

Return to system view.

quit

N/A

7.

Enter cross-connect group
view.

xconnect-group group-name N/A

8.

Enter cross-connect view.

connection connection-name

N/A