R3303-HP HSR6800 Routers MPLS Configuration Guide
237
Configuring BFD for the primary link in an H-VPLS network
Network requirements
In the H-VPLS network, Router A is the UPE, Router B is the primary NPE and Router C is the backup NPE.
Enable MPLS on the connecting interfaces between the routers, and configure OSPF on the routers to
ensure IP connectivity.
Configure BFD for the link between Router A and Router B and the link between Router A and Router C
so that when either link is down, BFD can detect the link failure and inform the MPLS LDP protocol for fast
PW switchover.
Figure 63 Network diagram
Configuration procedure
1. Configure basic MPLS:
# Configure Router A.
<RouterA> system-view
[RouterA] mpls lsr-id 1.1.1.1
[RouterA] mpls
[RouterA-mpls] quit
[RouterA] mpls ldp
[RouterA-mpls-ldp] quit
[RouterA] mpls ldp remote-peer routerb
[RouterA-mpls-ldp-remote-routerb] remote-ip 2.2.2.2
[RouterA-mpls-ldp-remote-routerb] remote-ip bfd
[RouterA-mpls-ldp-remote-routerb] quit
[RouterA] mpls ldp remote-peer routerc
[RouterA-mpls-ldp-remote-routerc] remote-ip 3.3.3.3
[RouterA-mpls-ldp-remote-routerc] remote-ip bfd
[RouterA-mpls-ldp-remote-routerc] quit
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] mpls
[RouterA-GigabitEthernet2/1/2] mpls ldp