360
Peer PW ID In/Out Label Proto Flag Link ID State
1.1.1.1 30 65779/65650 LDP M 1 Up
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
# Manually switch to the backup PW on PE 1.
<PE1> l2vpn switchover peer 2.2.2.2 pw-id 20
# Display L2VPN PW information on PE 1. The output shows that the PW switchover is successful.
<PE1> display l2vpn pw
Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 2, 1 up, 1 blocked, 0 down, 0 defect
Xconnect-group Name: vpna
Peer PW ID In/Out Label Proto Flag Link ID State
2.2.2.2 20 65651/65779 LDP M 1 Blocked
3.3.3.3 30 65650/65779 LDP B 1 Up
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
Configuring an intra-domain multi-segment PW
Network requirements
As shown in
, there is no public tunnel between PE 1 and PE 2. There is an MPLS TE tunnel
between PE 1 and P, and an MPLS TE tunnel between P and PE 2.
Configure a multi-segment PW between PE 1 and PE 2, so CE 1 and CE 2 can communicate over the
backbone. The multi-segment PW includes an LDP PW between PE 1 and P, and a static PW between P
and PE 2. The two PWs are concatenated on P.
Figure 92
Network diagram
Table 34
Interface and IP address assignment
Device Interface
IP
address
Device
Interface
IP address
CE 1
Vlan-int10
100.1.1.1/24
P
Loop0
192.4.4.4/32
PE 1
Loop0
192.2.2.2/32
Vlan-int23
23.1.1.2/24
Vlan-int23
23.1.1.1/24
Vlan-int26
26.2.2.2/24
CE 2
Vlan-int10
100.1.1.2/24
PE 2
Loop0
192.3.3.3/32