HP 12500 Series Configuration Manual page 333

Mpls, routing switch series
Table of Contents

Advertisement

[PE1] interface loopback 1
[PE1-LoopBack1] ip binding vpn-instance vpn1
[PE1-LoopBack1] ip address 3.3.3.3 32
[PE1-LoopBack1] quit
[PE1] ospf 100
[PE1-ospf-100] area 1
[PE1-ospf-100-area-0.0.0.1] sham-link 3.3.3.3 5.5.5.5 cost 10
[PE1-ospf-100-area-0.0.0.1] quit
[PE1-ospf-100] quit
# Configure PE 2.
[PE2] interface loopback 1
[PE2-LoopBack1] ip binding vpn-instance vpn1
[PE2-LoopBack1] ip address 5.5.5.5 32
[PE2-LoopBack1] quit
[PE2] ospf 100
[PE2-ospf-100] area 1
[PE2-ospf-100-area-0.0.0.1] sham-link 5.5.5.5 3.3.3.3 cost 10
[PE2-ospf-100-area-0.0.0.1] quit
[PE2-ospf-100] quit
After completing the previous configurations, if you issue the display ip routing-table vpn-instance
command again on the PEs, you can see that the path to the peer CE is now along the BGP route
across the backbone, and that a route to the sham link destination address is present. Take PE 1
as an example:
[PE1] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 6
Destination/Mask
Proto
3.3.3.3/32
Direct 0
5.5.5.5/32
BGP
20.1.1.0/24
OSPF
100.1.1.0/24
Direct 0
100.1.1.2/32
Direct 0
120.1.1.0/24
BGP
Issuing the display ip routing-table command on the CEs, you can see that the cost of the OSPF
route to the peer CE is now 10 (the cost configured for the sham link), and that the next hop is now
the VLAN interface 1 connected to the PE. This means that VPN traffic to the peer will be forwarded
over the backbone. Take CE 1 as an example:
[CE1] display ip routing-table
Routing Tables: Public
Destinations : 9
Destination/Mask
Proto
20.1.1.0/24
Direct 0
20.1.1.1/32
Direct 0
20.1.1.2/32
Direct 0
30.1.1.0/24
OSPF
100.1.1.0/24
Direct 0
100.1.1.1/32
Direct 0
120.1.1.0/24
OSPF
Routes : 6
Pre
Cost
NextHop
0
127.0.0.1
255
0
2.2.2.9
10
1563
100.1.1.1
0
100.1.1.2
0
127.0.0.1
255
0
2.2.2.9
Routes : 9
Pre
Cost
NextHop
0
20.1.1.1
0
127.0.0.1
0
20.1.1.2
10
1574
100.1.1.2
0
100.1.1.1
0
127.0.0.1
10
12
100.1.1.2
325
Interface
InLoop0
NULL0
Vlan1
Vlan1
InLoop0
NULL0
Interface
Vlan2
InLoop0
Vlan2
Vlan1
Vlan1
InLoop0
Vlan1

Advertisement

Table of Contents
loading

Table of Contents