R3303-HP 6600/HSR6600 Routers MPLS Configuration Guide
238
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
[RouterA-GigabitEthernet2/1/2] quit
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] mpls
[RouterA-GigabitEthernet2/1/1] mpls ldp
[RouterA-GigabitEthernet2/1/1] quit










