Configuring Ospf Sham Links - HP HSR6800 Configuration Manual

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[SPE2-bgp] ipv4-family vpnv4
[SPE2-bgp-af-vpnv4] peer 4.4.4.9 upe route-policy hope export

Configuring OSPF sham links

Network requirements
CE 1 and CE 2 belong to VPN 1 and are connected to PE 1 and PE 2, respectively.
CE 1 and CE 2 are in the same OSPF area.
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.
Figure 97 Network diagram
Device
CE 1
PE 1
Router A
Configuration procedure
1.
Configure OSPF on the customer networks:
Configure conventional OSPF on CE 1, Router A, and CE 2 to advertise segment addresses of
the interfaces as shown in
After completing the configurations, CE 1 and CE 2 can learn the OSPF route to the Ethernet
interface of each other. Take CE 1 as an example:
<CE1> display ip routing-table
Routing Tables: Public
Destination/Mask
20.1.1.0/24
20.1.1.1/32
Interface
IP address
GE2/1/1
100.1.1.1/24
S2/1/2
20.1.1.1/24
Loop0
1.1.1.9/32
Loop1
3.3.3.3/32
GE2/1/1
100.1.1.2/24
S2/1/2
10.1.1.1/24
S2/1/1
30.1.1.1/24
S2/1/2
20.1.1.2/24
Figure
Destinations : 9
Proto
Pre
Direct 0
Direct 0
Device
CE 2
PE 2
97. (Details not shown.)
Routes : 9
Cost
NextHop
0
20.1.1.1
0
127.0.0.1
362
Interface
IP address
GE2/1/1
120.1.1.1/24
S2/1/2
30.1.1.2/24
Loop0
2.2.2.9/32
Loop1
5.5.5.5/32
GE2/1/1
120.1.1.2/24
S2/1/1
10.1.1.2/24
Interface
S2/1/2
InLoop0

Advertisement

Table of Contents
loading

Table of Contents