HPE FlexFabric 5950 Series Configuration Manual page 390

Mpls
Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

[MCE-Vlan-interface20] ip binding vpn-instance vpn2
[MCE-Vlan-interface20] ip address 10.214.20.3 24
[MCE-Vlan-interface20] quit
# On PE 1, configure VPN instances vpn1 and vpn2, and specify an RD and route targets for
each VPN instance.
<PE1> system-view
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 10:1
[PE1-vpn-instance-vpn1] vpn-target 10:1
[PE1-vpn-instance-vpn1] quit
[PE1] ip vpn-instance vpn2
[PE1-vpn-instance-vpn2] route-distinguisher 20:1
[PE1-vpn-instance-vpn2] vpn-target 20:1
[PE1-vpn-instance-vpn2] quit
2.
Configure routing between the MCE and VPN sites:
The MCE is connected to VPN 1 directly, and no routing protocol is enabled in VPN 1.
Therefore, you can configure static routes.
# On VR 1, assign IP address 10.214.10.2/24 to the interface connected to MCE and
192.168.0.1/24 to the interface connected to VPN 1. Add ports to VLANs correctly. (Details not
shown.)
# On VR 1, configure a default route with the next hop being 10.214.10.3.
<VR1> system-view
[VR1] ip route-static 0.0.0.0 0.0.0.0 10.214.10.3
# On the MCE, configure a static route to 192.168.0.0/24 with the next hop 10.214.10.2. Bind
the static route to VPN instance vpn1.
[MCE] ip route-static vpn-instance vpn1 192.168.0.0 24 10.214.10.2
# On the MCE, display the routing information maintained for VPN instance vpn1.
[MCE] display ip routing-table vpn-instance vpn1
Destinations : 13
Destination/Mask
0.0.0.0/32
10.214.10.0/24
10.214.10.0/32
10.214.10.3/32
10.214.10.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32 Direct
192.168.0.0/24
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32 Direct
The output shows that the MCE has a static route for VPN instance vpn1.
# Run OSPF in VPN 2. Create OSPF process 20 and bind it to VPN instance vpn2 on the MCE,
so that the MCE can learn the routes of VPN 2 and add them to the routing table of VPN
instance vpn2.
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
0
0
Static
60
0
Direct
0
0
Direct
0
0
0
0
382
NextHop
Interface
127.0.0.1
InLoop0
10.214.10.3
Vlan10
10.214.10.3
Vlan10
127.0.0.1
InLoop0
10.214.10.3
Vlan10
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.214.10.2
Vlan10
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents