R2511-HP MSR Router Series MPLS Configuration Guide(V5)
237
10.214.10.0/24 Direct 0 0 10.214.10.3 Eth1/1
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 Eth1/1
[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 Eth1/2
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 Eth1/2
The output shows that the MCE has learned the private route of VPN 2 through RIP. MCE maintains
the routes of VPN 1 and those of VPN 2 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 is connected to PE 1 through subinterfaces. On MCE, bind subinterface Ethernet 1/3.1
to the VPN instance vpn1, configure the subinterface to terminate VLAN 10, and configure an IP
address for the subinterface.
[MCE] interface ethernet 1/3.1
[MCE-Ethernet1/3.1] ip binding vpn-instance vpn1
[MCE-Ethernet1/3.1] vlan-type dot1q vid 10
[MCE-Ethernet1/3.1] ip address 20.1.1.1 24
[MCE-Ethernet1/3.1] quit
# On the MCE, bind subinterface Ethernet 1/3.2 to the VPN instance vpn2, configure the
subinterface to terminate VLAN 20, and configure an IP address for the subinterface.
[MCE] interface ethernet 1/3.2
[MCE-Ethernet1/3.2] ip binding vpn-instance vpn2
[MCE-Ethernet1/3.2] vlan-type dot1q vid 20
[MCE-Ethernet1/3.2] ip address 30.1.1.1 24
[MCE-Ethernet1/3.2] quit
# On PE 1, bind subinterface Ethernet 1/1.1 to the VPN instance vpn1, configure the subinterface
to terminate VLAN 10, and configure an IP address for the subinterface.
[PE1] interface ethernet 1/1.1
[PE1-Ethernet1/1.1] ip binding vpn-instance vpn1
[PE1-Ethernet1/1.1] vlan-type dot1q vid 10
[PE1-Ethernet1/1.1] ip address 20.1.1.2 24
[PE1-Ethernet1/1.1] quit
# On PE 1, bind subinterface Ethernet 1/1.2 to the VPN instance vpn2, configure the subinterface
to terminate VLAN 20, and configure an IP address for the subinterface.
[PE1] interface ethernet 1/1.2
[PE1-Ethernet1/1.2] ip binding vpn-instance vpn2
[PE1-Ethernet1/1.2] vlan-type dot1q vid 20
[PE1-Ethernet1/1.2] ip address 30.1.1.2 24










