184
[NPE3-vsi-aaa-ldp] peer 2.2.2.2
[NPE3-vsi-aaa-ldp] peer 3.3.3.3
[NPE3-vsi-aaa-ldp] quit
[NPE3-vsi-aaa] quit
# Create service instance on GigabitEthernet 1/0/1, the interface connecting CE 3, and bind the
VPLS instance.
[NPE3] interface gigabitethernet 1/0/1
[NPE3-GigabitEthernet1/0/1] service-instance 1000
[NPE3-GigabitEthernet1/0/1-srv1000] encapsulation s-vid 10
[NPE3-GigabitEthernet1/0/1-srv1000] xconnect vsi aaa
[NPE3-GigabitEthernet1/0/1-srv1000] quit
After you complete the previous settings, execute the
display vpls connection
command on the PEs.
The command output shows that a PW connection in up state has been established.
Configuring BFD for the primary link in an H-VPLS network
Network requirements
In the H-VPLS network, Switch A is the UPE, Switch B is the primary NPE and Switch C is the backup NPE.
Enable MPLS on the connecting interfaces of the switches. Enable OSPF on the switches to ensure IP
connectivity.
Configure BFD for the link between Switch A and Switch B and the link between Switch A and Switch 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 45
Network diagram
Configuration procedure
1.
Configure basic MPLS:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls
[SwitchA-mpls] quit
[SwitchA] mpls ldp