Configuring an ldp pw, Network requirements, Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual
Page 269

258
192.3.3.3 3 100/200 Static M 0 Up
# Display L2VPN PW information on PE 2. The output shows that a static PW has been established.
[PE2] display l2vpn pw
Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1, 1 up, 0 blocked, 0 down, 0 defect
Xconnect-group Name: vpna
Peer PW ID In/Out Label Proto Flag Link ID State
192.2.2.2 3 200/100 Static M 0 Up
# CE 1 and CE 2 can ping each other.
Configuring an LDP PW
Network requirements
Create an LDP PW between PE 1 and PE 2 over the backbone so VLAN 10 on CE 1 can communicate
with VLAN 10 on CE 2.
Figure 69 Network diagram
Device
Interface
IP address
Device
Interface
IP address
PE 1
Loop0
192.2.2.2/32
P
Loop0
192.4.4.4/32
Vlan-int20
10.1.1.1/24
Vlan-int20
10.1.1.2/24
PE 2
Loop0
192.3.3.3/32
Vlan-int30 10.2.2.2/24
Vlan-int30
10.2.2.1/24
Configuration procedure
Before you perform the following configurations, configure VLANs and add ports to VLANs on switches.
1.
Configure CE 1:
[CE1] interface ten-gigabitethernet 1/0/1
[CE1-Ten-GigabitEthernet1/0/1] port link-type trunk
[CE1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[CE1-Ten-GigabitEthernet1/0/1] quit
2.
Configure PE 1:
# Configure an LSR ID.