146
3.
Verify the configuration.
After you complete the configuration, issue the
display vpls connection
command on the PEs. You
will see that PW connections in up state have been established.
Configuring H-VPLS with LSP access
Network requirements
UPE and NPE 1 are connected through interfaces named VLAN-interface 10. NPE 1 and NPE 3 are
connected to each other through interfaces named VLAN-interface 20.
Create a U-PW connection between UPE and NPE 1 and an N-PW connection between NPE 1 and NPE
3. Create a VPLS instance
aaa
using LDP, the Martini mode.
On UPE and NPE 3, configure a service instance and bind it to the VPLS instance
aaa
. The service
instance matches the received packets that carry VLAN tag 100 on GigabitEthernet 3/0/1. The matched
packets are forwarded by VPLS instance
aaa
.
Figure 37
Network diagram
Configuration procedure
1.
Configure the IGP protocol on the MPLS backbone, which is OSPF in this example. (Details not
shown)
2.
Configure UPE.
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname UPE
[UPE] interface loopback 0
[UPE-LoopBack0] ip address 1.1.1.9 32
[UPE-LoopBack0] quit
[UPE] mpls lsr-id 1.1.1.9
[UPE] mpls
[UPE-mpls] quit
[UPE] mpls ldp
[UPE-mpls-ldp] quit
# Configure basic MPLS on the interface connected to NPE 1.
[UPE] interface vlan-interface 10
[UPE-Vlan-interface10] ip address 10.1.1.1 24
[UPE-Vlan-interface10] mpls
[UPE-Vlan-interface10] mpls ldp
[UPE-Vlan-interface10] quit