393
Tunnel Group ID : 0x1800000260000002
Tunnel NHLFE IDs : 138
LDP PW configuration example
Network requirements
Configure VPLS on each PE, and establish LDP PWs between the PEs to interconnect the CEs.
Figure 100
Network diagram
Configuration procedure
1.
Configure an IGP and public tunnels on each PE. (Details not shown.)
2.
Configure PE 1:
# Configure basic MPLS.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls ldp
[PE1-ldp] quit
# Enable L2VPN.
[PE1] l2vpn enable
# Configure VSI
aaa
that uses LDP as the PW signaling protocol, and establish PWs to PE 2 and
PE 3.
[PE1] vsi aaa
[PE1-vsi-aaa] pwsignaling ldp
[PE1-vsi-aaa-ldp] peer 2.2.2.9 pw-id 500
[PE1-vsi-aaa-ldp-2.2.2.9-500] quit
[PE1-vsi-aaa-ldp] peer 3.3.3.9 pw-id 500
[PE1-vsi-aaa-ldp-3.3.3.9-500] quit
[PE1-vsi-aaa-ldp] quit