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

set the domain ID, On PE 1, enable OSPF process 10, bind the process with VPN instance

Page 23 highlights

[PE1-Vlan-interface40] quit # Configure the IP address of the interface Loopback 0 as 101.101.10.1 for the MCE and as 100.100.10.1 for PE 1. Specify the loopback interface address as the router ID for the MCE and PE 1. (Details not shown) # Enable OSPF process 10 on the MCE, bind the process to VPN instance vpn1, disable OSPF routing loop detection, and set the domain ID to 10. [MCE] ospf 10 router-id 101.101.10.1 vpn-instance vpn1 [MCE-ospf-10] vpn-instance-capability simple [MCE-ospf-10] domain-id 10 # On the MCE, advertise subnet 30.1.1.0 in area 0, and redistribute the static route of VPN 1. [MCE-ospf-10] area 0 [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, enable 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 VPN instance vpn1. [PE1] 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 30.1.1.0/24 Direct 0 0 30.1.1.2 Vlan30 30.1.1.0/32 Direct 0 0 30.1.1.2 Vlan30 30.1.1.2/32 Direct 0 0 127.0.0.1 InLoop0 30.1.1.255/32 Direct 0 0 30.1.1.2 Vlan30 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 192.168.0.0/24 OSPF 150 1 30.1.1.1 Vlan30 224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0 224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0 255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 The output shows that the static route of VPN 1 has been redistributed to the OSPF routing table of PE 1. Use similar procedures to configure OSPF process 20 between MCE and PE 1, and redistribute VPN 2's routing information from OSPF process 20 into the OSPF routing table of MCE. (Details not shown) # On PE 1, display the routing table of VPN instance vpn2. 20

  • 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

20
[PE1-Vlan-interface40] quit
# Configure the IP address of the interface Loopback 0 as 101.101.10.1 for the MCE and as
100.100.10.1 for PE 1. Specify the loopback interface address as the router ID for the MCE and
PE 1. (Details not shown)
# Enable OSPF process 10 on the MCE, bind the process to VPN instance
vpn1
, disable OSPF
routing loop detection, and set the domain ID to 10.
[MCE] ospf 10 router-id 101.101.10.1 vpn-instance vpn1
[MCE-ospf-10] vpn-instance-capability simple
[MCE-ospf-10] domain-id 10
# On the MCE, advertise subnet 30.1.1.0 in area 0, and redistribute the static route of VPN 1.
[MCE-ospf-10] area 0
[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, enable 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 VPN instance
vpn1
.
[PE1] 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
30.1.1.0/24
Direct 0
0
30.1.1.2
Vlan30
30.1.1.0/32
Direct 0
0
30.1.1.2
Vlan30
30.1.1.2/32
Direct 0
0
127.0.0.1
InLoop0
30.1.1.255/32
Direct 0
0
30.1.1.2
Vlan30
127.0.0.0/8
Direct 0
0
127.0.0.1
InLoop0
127.0.0.0/32
Direct 0
0
127.0.0.1
InLoop0
127.0.0.1/32
Direct 0
0
127.0.0.1
InLoop0
127.255.255.255/32
Direct 0
0
127.0.0.1
InLoop0
192.168.0.0/24
OSPF
150
1
30.1.1.1
Vlan30
224.0.0.0/4
Direct 0
0
0.0.0.0
NULL0
224.0.0.0/24
Direct 0
0
0.0.0.0
NULL0
255.255.255.255/32
Direct 0
0
127.0.0.1
InLoop0
The output shows that the static route of VPN 1 has been redistributed to the OSPF routing table of
PE 1.
Use similar procedures to configure OSPF process 20 between MCE and PE 1, and redistribute
VPN 2's routing information from OSPF process 20 into the OSPF routing table of MCE. (Details
not shown)
# On PE 1, display the routing table of VPN instance
vpn2
.