R2511-HP MSR Router Series MPLS Configuration Guide(V5)

244
Figure 71 Network diagram
Configuration procedure
1. Configure VPN instances:
# Create VPN instances on the MCE and PE 1, and bind the VPN instances to VLAN interfaces. For
the configuration procedure, see "Configure the VPN instances on the MCE and PE 1:."
2. Configure routing between the MCE and VPN sites:
# Enable an OSPF process on the devices in the two VPNs and advertise the subnets. (Details not
shown.)
# Configure OSPF on the MCE, and bind OSPF process 10 to VPN instance vpn1 to learn the
routes of VPN 1.
<MCE> system-view
[MCE] ospf 10 router-id 10.10.10.1 vpn-instance vpn1
[MCE-ospf-10] area 0
[MCE-ospf-10-area-0.0.0.0] network 10.100.10.0 0.0.0.255
# Display the routing table of VPN 1 on the MCE.
[MCE-ospf-10-area-0.0.0.0] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
10.100.10.0/24 Direct 0 0 10.100.10.1 Vlan2
10.100.10.1/32 Direct 0 0 127.0.0.1 InLoop0