HP 4800G Series Configuration Manual page 746

24/48 port
Table of Contents

Advertisement

10.100.10.1/32
172.16.10.0/24
As shown in the displayed information above, MCE has obtained the routing information of VPN1
through OSPF process 10.
# Create OSPF process 20 for MCE whose router ID is 10.10.20.1, bind the process to VPN2.
Redistribute BGP routes from VPN2, enable OSPF multi-instance, and advertise the network segment
10.100.20.0. The procedure of configuring OSPF process 20 is similar to that of configuring OSPF
process 10. Followed is the result of the above configuration.
[MCE] display ip routing-table vpn-instance vpn2
Routing Tables: vpn2
Destinations : 5
Destination/Mask
127.0.0.0/8
127.0.0.1/32
10.100.20.0/24
10.100.20.1/32
172.16.20.0/24
Configure the routing protocol running between MCE and PE
# The procedure of connecting MCE to PE through trunk ports is similar to that in
Example (A)
and is omitted here.
# Create BGP process 10 for MCE.
[MCE] bgp 100
[MCE-bgp]
# Enter IPv4 address family view in VPN1.
[MCE-bgp] ipv4-family vpn-instance vpn1
[MCE-bgp-vpn1]
# Configure PE as an EBGP peer and import the routing information of OSPF process 10 (assuming
that the address of the interface bound to VPN1 is 10.100.30.3 and the ID of the BGP process is 200).
[MCE-bgp-vpn1] peer 10.100.30.3 as-number 200
[MCE-BGP-vpn1] import-route ospf 10
# Create BGP process 200 on the PE, and configure MCE as an EBGP peer.
<PE> system-view
[PE] bgp 200
[PE-bgp] ipv4-family vpn-instance vpn1
[PE-bgp-vpn1] peer 10.100.30.1 as-number 100
# Display the information about the routes of VPN1 on PE.
<PE-bgp-vpn1> display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 5
Destination/Mask
Direct 0
0
OSPF
10
1
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
OSPF
10
1
Routes : 5
Proto
Pre
Cost
2-20
127.0.0.1
InLoop0
10.100.10.2
Vlan2
NextHop
Interface
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.100.20.1
Vlan3
127.0.0.1
InLoop0
10.100.20.2
Vlan3
NextHop
Interface
MCE Configuration

Advertisement

Chapters

Table of Contents
loading

Table of Contents