
Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration
1-94
[SPE2-bgp-vpnb] quit
[SPE2-bgp] quit
1.11.7 Example for Configuring OSPF Sham Links
I. Network requirements
z
CE 1 and CE 2 belong to VPN 1 and are respectively connected to PE 1 and PE 2.
z
CE 1 and CE 2 are in the same OSPF area.
z
VPN traffic between CE 1 and CE 2 is required to be forwarded through the MPLS
backbone, instead of any route in the OSPF area.
II. Network diagram
Device Interface
IP
address
Device Interface
IP
address
CE 1
Vlan-int1
100.1.1.1/24
CE 2
Vlan-int1
120.1.1.1/24
Vlan-int2
20.1.1.1/24
Vlan-int2
30.1.1.2/24
PE 1
Loop1
1.1.1.9/32
PE 2
Loop1
2.2.2.9/32
Loop10
3.3.3.3/32
Loop10
5.5.5.5/32
Vlan-int1
100.1.1.2/24
Vlan-int1
120.1.1.2/24
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Switch A
Vlan-int1
20.1.1.2/24
Vlan-int2
30.1.1.1/24
Figure 1-24
Configure an OSPF sham link
III. Configuration procedure
1)
Configure OSPF on the customer networks
Configure conventional OSPF on CE 1 and CE 2 to advertise segment addresses of
the interfaces as shown in
Figure 1-24
. The detailed configuration steps are omitted.
After completing the configurations, CE 1 and CE 2 should be able to learn the OSPF
route to the VLAN interface 1 of each other. The following takes CE 1 as an example:
[CE1] display ip routing-table
Routing Tables: Public
Destinations : 9 Routes : 9