HP FlexNetwork 10500 Series Configuration Manual page 446

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

[MCE] ospf 2 vpn-instance vpn2
# Advertise subnet 10.214.20.0.
[MCE-ospf-2] area 0
[MCE-ospf-2-area-0.0.0.0] network 10.214.20.0 0.0.0.255
[MCE-ospf-2-area-0.0.0.0] quit
[MCE-ospf-2] quit
# On VR 2, assign IP address 10.214.20.2/24 to the interface connected to MCE and
192.168.10.1/24 to the interface connected to VPN 2. (Details not shown.)
# Configure OSPF process 2, and advertise subnets 192.168.10.0 and 10.214.20.0.
<VR2> system-view
[VR2] ospf 2
[VR2-ospf-2] area 0
[VR2-ospf-2-area-0.0.0.0] network 192.168.10.0 0.0.0.255
[VR2-ospf-2-area-0.0.0.0] network 10.214.20.0 0.0.0.255
[VR2-ospf-2-area-0.0.0.0] quit
[VR2-ospf-2] quit
# On the MCE, display the routing information maintained for VPN instance vpn2.
[MCE] display ip routing-table vpn-instance vpn2
Destinations : 13
Destination/Mask
0.0.0.0/32
10.214.20.0/24
10.214.20.0/32
10.214.20.3/32
10.214.20.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32 Direct
192.168.10.0/24
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32 Direct
The output shows that the MCE has learned the private routes of VPN 2. The MCE maintains
the routes of VPN 1 and those of VPN2 in two different routing tables. In this way, routes from
different VPNs are separated.
3.
Configure routing between the MCE and PE 1:
# On the MCE, bind VLAN-interface 30 to VPN instance vpn1, and configure an IP address for
the VLAN interface.
[MCE] interface vlan-interface 30
[MCE-Vlan-interface30] ip binding vpn-instance vpn1
[MCE-Vlan-interface30] ip address 30.1.1.1 24
[MCE-Vlan-interface30] quit
# Bind VLAN-interface 40 to VPN instance vpn2, and configure an IP address for the VLAN
interface.
[MCE] interface vlan-interface 40
Routes : 13
Proto
Pre Cost
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
0
0
O_INTRA 10
2
Direct
0
0
Direct
0
0
0
0
437
NextHop
Interface
127.0.0.1
InLoop0
10.214.20.3
Vlan20
10.214.20.3
Vlan20
127.0.0.1
InLoop0
10.214.20.3
Vlan20
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.214.20.2
Vlan20
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents