Using Bgp To Advertise Vpn Routes To The Pe - HP 6125G Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

[MCE-ospf-10-area-0.0.0.0] network 30.1.1.0 0.0.0.255
[MCE-ospf-10-area-0.0.0.0] quit
[MCE-ospf-10] import-route static
# On PE 1, start OSPF process 10, bind the process with VPN instance vpn1, set the domain ID to
10, and advertise subnet 30.1.1.0 in area 0.
[PE1] ospf 10 router-id 100.100.10.1 vpn-instance vpn1
[PE1-ospf-10] domain-id 10
[PE1-ospf-10] area 0
[PE1-ospf-10-area-0.0.0.0] network 30.1.1.0 0.0.0.255
[PE1-ospf-10-area-0.0.0.0] quit
[PE1-ospf-10] quit
# On PE 1, display the routing table of VPN1.
[PE1] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destination/Mask
30.1.1.0/24
30.1.1.2/32
127.0.0.0/8
127.0.0.1/32
192.168.0.0/24
The output shows that the static route of VPN 1 has been redistributed to the OSPF routing table of
PE 1.
Take similar procedures to configure OSPF process 20 between MCE and PE 1 and redistribute
VPN 2's routing information from RIP into the OSPF routing table of MCE. The following output
shows that PE 1 has learned the private route of VPN 2 through OSPF.
<PE1> display ip routing-table vpn-instance vpn2
Routing Tables: vpn2
Destination/Mask
40.1.1.0/24
40.1.1.2/32
127.0.0.0/8
127.0.0.1/32
192.168.10.0/24
Now, the routing information of the two VPNs has been redistributed into the routing tables on PE 1.

Using BGP to advertise VPN routes to the PE

Network requirements
As shown in
site 2 to PE 1, so that a VPN's sites across the MPLS backbone network can communicate with each other
normally.
Use OSPF in both site 1 and site 2. Use EBGP between the MCE and PE 1.
Destinations : 5
Proto
Direct 0
Direct 0
Direct 0
Direct 0
O_ASE
Destinations : 5
Proto
Direct 0
Direct 0
Direct 0
Direct 0
O_ASE
Figure
89, use an Ethernet switch as the MCE device. Advertise the VPN routes in site 1 and
Routes : 5
Pre
Cost
NextHop
0
30.1.1.2
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
150
1
30.1.1.1
Routes : 5
Pre
Cost
NextHop
0
40.1.1.2
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
150
1
40.1.1.1
289
Interface
Vlan30
InLoop0
InLoop0
InLoop0
Vlan30
Interface
Vlan40
InLoop0
InLoop0
InLoop0
Vlan40

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents