HP FlexFabric 5700 Configuration Manual page 23

Table of Contents

Advertisement

# Disable OSPF routing loop detection.
[MCE-ospf-10] vpn-instance-capability simple
# Set the domain ID to 10.
[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, and bind the process to VPN instance vpn1.
[PE1] ospf 10 router-id 100.100.10.1 vpn-instance vpn1
# Set the domain ID to 10.
[PE1-ospf-10] domain-id 10
# Advertise subnet 30.1.1.0 in area 0.
[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
# Use similar procedures to configure OSPF process 20 between MCE and PE 1 and
redistribute VPN 2's routing information. (Details not shown.)
Verifying the configuration
# On PE 1, display the routing information for VPN 1. The output shows that the static route of
VPN 1 has been redistributed to the OSPF routing table of PE 1.
[PE1] display ip routing-table vpn-instance vpn1
Destinations : 13
Destination/Mask
0.0.0.0/32
30.1.1.0/24
30.1.1.0/32
30.1.1.2/32
30.1.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
192.168.0.0/24
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32
# On PE 1, display the routing information for VPN 2. The output shows that the routes of OSPF
process 2 in VPN 2 have been redistributed to the OSPF routing table of PE 1.
[PE1] display ip routing-table vpn-instance vpn2
Destinations : 13
Destination/Mask
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
Direct 0
0
OSPF
150
1
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 13
Proto
Pre
Cost
20
NextHop
Interface
127.0.0.1
InLoop0
30.1.1.2
Vlan30
30.1.1.2
Vlan30
127.0.0.1
InLoop0
30.1.1.2
Vlan30
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
30.1.1.1
Vlan30
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0
NextHop
Interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents