
227
[NPE3-vsi-aaa-ldp] quit
[NPE3-vsi-aaa] quit
# Bind the VPLS instance
aaa
to GigabitEthernet 2/1/3, the interface connected to CE 3.
[NPE3] interface gigabitethernet 2/1/3
[NPE3-GigabitEthernet2/1/3] l2 binding vsi aaa
[NPE3-GigabitEthernet2/1/3] quit
Verifying the configuration:
# Execute the
display vpls connection
command on each PE. The output shows that a PW
connection in up state has been established between the PEs.
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