HP HSR6800 Configuration Manual page 378

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

# On PE 1, bind subinterface GigabitEthernet 3/1/1.2 with the VPN instance vpn2, configure the
subinterface to terminate VLAN 20, and configure an IP address for the subinterface.
[PE1] interface gigabitethernet 3/1/1.2
[PE1-GigabitEthernet3/1/1.2] ip binding vpn-instance vpn2
[PE1-GigabitEthernet3/1/1.2] vlan-type dot1q vid 20
[PE1-GigabitEthernet3/1/1.2] ip address 30.1.1.2 24
[PE1-GigabitEthernet3/1/1.2] quit
# Configure the IP address of the interface Loopback0 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, 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
# Advertise subnet 20.1.1.0/24 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 20.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 to VPN instance vpn1, set the domain
ID to 10, and advertise subnet 20.1.1.0/24 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 20.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 information for VPN 1.
[PE1] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 5
Destination/Mask
20.1.1.0/24
20.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 the MCE and PE 1 and
redistribute VPN 2's routing information from RIP into the OSPF routing table of the 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
Destinations : 5
Destination/Mask
30.1.1.0/24
30.1.1.2/32
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
O_ASE
150
1
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
370
NextHop
Interface
20.1.1.2
GE3/1/1.1
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
20.1.1.1
GE3/1/1.1
NextHop
Interface
30.1.1.2
GE3/1/1.2
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents