157
After you complete previous configurations, execute the
display vpls connection
command on the
PEs. You will see that a PW connection in up state has been established.
Configuring BFD for the main link in an H-VPLS network
Network requirements
In the H-VPLS network, Switch A is the UPE, Switch B is the main NPE and Switch C is the backup NPE.
Enable MPLS on the interfaces connecting the switches, and enable OSPF on the switches to ensure IP
connectivity.
Configure BFD for the link between Switch A and Switch B, so when the link is down, BFD can detect the
link failure and inform the MPLS LDP protocol for fast PW switchover.
Figure 40
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
[SwitchA-mpls-ldp] quit
[SwitchA] mpls ldp remote-peer switchb
[SwitchA-mpls-ldp-remote-switchb] remote-ip 2.2.2.9
[SwitchA-mpls-ldp-remote-switchb] remote-ip bfd
[SwitchA-mpls-ldp-remote-switchb] quit
[SwitchA] mpls ldp remote-peer switchc
[SwitchA-mpls-ldp-remote-switchc] remote-ip 3.3.3.9
[SwitchA-mpls-ldp-remote-switchc] remote-ip bfd
[SwitchA-mpls-ldp-remote-switchc] quit
[SwitchA] vlan 12
[SwitchA-vlan12] port gigabitethernet 3/0/2
[SwitchA-vlan12] quit
Loop
1.1.1.9/32
Loop
3.3.3.9/32
Loop
2.2.2.9/32
Switch A
Switch B
Switch C
Vlan-int12
12.1.1.2/24
GE3/0/1
Vlan-int13
13.1.1.3/24
GE3/0/1
Vlan-int12
12.1.1.1/24
GE3/0/2
Vlan-int13
13.1.1.1/24
GE3/0/1
Vlan-int100
CE 1
Vlan-int1100