HP 6125XLG R2306-HP 6125XLG Blade Switch MCE Configuration Guide - Page 25

Configuration procedure, Con VPN instances

Page 25 highlights

Figure 5 Network diagram VPN 2 Site 1 PE 2 CE 1 PE 1 XGE1/0/1 Vlan-int30: 30.1.1.2/24 Vlan-int40: 40.1.1.2/24 VPN 1 192.168.0.0/24 VR 1 MCE XGE1/0/3 Vlan-int30: 30.1.1.1/24 XGE1/0/1 Vlan-int40: 40.1.1.1/24 Vlan-int10 XGE1/0/2 10.214.10.3/24 Vlan-int20 10.214.20.3/24 VR 2 VPN 2 192.168.10.0/24 PE 3 CE 2 VPN 1 Site 2 Configuration procedure 1. Configure VPN instances: Create VPN instances on the MCE and PE 1, and bind the VPN instances with VLAN interfaces. For the configuration procedure, see "Using OSPF to advertise VPN routes to the PE." 2. Configure routing between the MCE and VPN sites: # Enable an OSPF process on the devices in the two VPNs, and advertise the subnets. (Details not shown) # Configure OSPF on the MCE, and bind OSPF process 10 with VPN instance vpn1 to learn the routes of VPN 1. system-view [MCE] ospf 10 router-id 10.10.10.1 vpn-instance vpn1 [MCE-ospf-10] area 0 [MCE-ospf-10-area-0.0.0.0] network 10.214.10.0 0.0.0.255 [MCE-ospf-10-area-0.0.0.0] quit [MCE-ospf-10] quit # Display the routing table of VPN 1 on the MCE. [MCE] display ip routing-table vpn-instance vpn1 Destinations : 13 Routes : 13 Destination/Mask 0.0.0.0/32 10.214.10.0/24 Proto Pre Cost Direct 0 0 Direct 0 0 22 NextHop 127.0.0.1 10.214.10.3 Interface InLoop0 Vlan10

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

22
Figure 5
Network diagram
Configuration procedure
1.
Configure VPN instances:
Create VPN instances on the MCE and PE 1, and bind the VPN instances with VLAN interfaces.
For the configuration procedure, see "
Using OSPF to advertise VPN routes to the PE
."
2.
Configure routing between the MCE and VPN sites:
# Enable an OSPF process on the devices in the two VPNs, and advertise the subnets. (Details not
shown)
# Configure OSPF on the MCE, and bind OSPF process 10 with VPN instance
vpn1
to learn the
routes of VPN 1.
<MCE> system-view
[MCE] ospf 10 router-id 10.10.10.1 vpn-instance vpn1
[MCE-ospf-10] area 0
[MCE-ospf-10-area-0.0.0.0] network 10.214.10.0 0.0.0.255
[MCE-ospf-10-area-0.0.0.0] quit
[MCE-ospf-10] quit
# Display the routing table of VPN 1 on the MCE.
[MCE] display ip routing-table vpn-instance vpn1
Destinations : 13
Routes : 13
Destination/Mask
Proto
Pre
Cost
NextHop
Interface
0.0.0.0/32
Direct 0
0
127.0.0.1
InLoop0
10.214.10.0/24
Direct 0
0
10.214.10.3
Vlan10
CE 2
VPN 1
Site 2
CE 1
VPN 2
Site 1
PE 1
PE 3
PE 2
VPN 2
192.168.10.0/24
VR 2
VPN 1
192.168.0.0/24
VR 1
MCE
XGE1/0/1
Vlan-int10
10.214.10.3/24
XGE1/0/1
Vlan-int30: 30.1.1.2/24
Vlan-int40: 40.1.1.2/24
XGE1/0/3
Vlan-int30: 30.1.1.1/24
Vlan-int40: 40.1.1.1/24
XGE1/0/2
Vlan-int20
10.214.20.3/24