R2511-HP MSR Router Series MPLS Configuration Guide(V5)
241
Routing Tables: vpn1
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
10.214.10.0/24 Direct 0 0 10.214.10.3 Vlan10
10.214.10.3/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.0/24 Static 60 0 10.214.10.2 Vlan10
The output shows that the MCE has a static route for VPN instance vpn1.
# Run RIP in VPN 2. Create RIP 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 the VPN instance
vpn2.
[MCE] rip 20 vpn-instance vpn2
# Advertise subnet 10.214.20.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 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 the MCE, display the routing information for VPN instance vpn2.
[MCE] display ip routing-table vpn-instance vpn2
Routing Tables: vpn2
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
10.214.20.0/24 Direct 0 0 10.214.20.3 Vlan20
10.214.20.3/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.10.0/24 RIP 100 1 10.214.20.2 Vlan20
The output shows that the MCE has learned the private routes of VPN 2. The MCE maintains the
routes of VPN 1 and those of VPN2 in two different routing tables. In this way, routes from different
VPNs are separated.
3. Configure routing between the MCE and PE 1:
# The MCE uses Ethernet 1/3 to connect to PE's Ethernet 1/1. Configure the two ports as trunk
ports, and configure them to permit packets carrying VLAN tags 30 and 40 to pass.
[MCE] interface ethernet 1/3
[MCE-Ethernet1/3] port link-type trunk
[MCE-Ethernet1/3] port trunk permit vlan 30 40
[MCE-Ethernet1/3] quit
# Configure Ethernet1/1 on the PE.
[PE1] interface ethernet 1/1










