HP FlexNetwork HSR6600 Configuration Manual page 533

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

[MCE-GigabitEthernet1/1/1] ip address 10.214.10.3 24
[MCE-GigabitEthernet1/1/1] quit
# Bind interface GigabitEthernet 1/1/2 to VPN instance vpn2, and configure an IP address for
the interface.
[MCE] interface gigabitethernet 1/1/2
[MCE-GigabitEthernet1/1/2] ip binding vpn-instance vpn2
[MCE-GigabitEthernet1/1/2] ip address 10.214.20.3 24
[MCE-GigabitEthernet1/1/2] 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. (Details not shown.)
# On VR 1, configure a default route with the next hop as 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, specify the next hop as 10.214.10.2,
and bind the static route to VPN instance vpn1.
[MCE] ip route-static vpn-instance vpn1 192.168.0.0 24 10.214.10.2
# Run RIP in VPN 2. Configure RIP process 20 for the VPN instance vpn2 on MCE, so that
MCE can learn the routes of VPN 2 and add them to the routing table of the VPN instance vpn2.
[MCE] rip 20 vpn-instance vpn2
# Advertise subnet 10.214.10.0.
[MCE-rip-20] network 10.214.20.0
[MCE-rip-20] quit
# On VR 2, assign IP address 10.214.20.2/24 to the interface connected to the MCE and
192.168.10.1/24 to the interface connected to VPN 2. (Details not shown.)
# Configure RIP, and advertise subnets 192.168.10.0 and 10.214.20.0.
<VR2> system-view
[VR2] rip 20
[VR2-rip-20] network 192.168.10.0
[VR2-rip-20] network 10.214.20.0
# On MCE, display the routing tables of VPN instances vpn1 and vpn2.
[MCE] display ip routing-table vpn-instance vpn1
Destinations : 13
Routes : 13
523

Advertisement

Table of Contents
loading

Table of Contents