15
For other MCE related displaying and maintaining commands, such as displaying routing table
information for a VPN instance and maintaining routing sessions for a VPN instance, see
Layer 3—IP
Routing Command Reference
.
MCE configuration examples
Configuring the MCE that uses OSPF to advertise VPN routes to
the PE
Network requirements
As shown in
, the MCE device is connected to VPN 1 through VLAN-interface 10 and is
connected to VPN 2 through VLAN-interface 20. OSPF runs in VPN 2.
Configure the MCE device to separate routes from different VPNs and to advertise the VPN routes to PE
1 through OSPF.
Figure 4
Network diagram
Configuration procedure
Assume that the system name of the MCE device is MCE, the system names of the edge devices of VPN
1 and VPN 2 are VR1 and VR2, and the system name of PE 1 is PE1.
1.
Configure the VPN instances on the MCE and PE 1:
# On the MCE, configure VPN instances
vpn1
and
vpn2
, and specify an RD and route targets for
each VPN instance.
CE 2
VPN 1
Site 2
CE 1
VPN 2
Site 1
PE 1
PE 3
PE 2
VPN 2
192.168.10.0/24
VR 2
VPN 1
192.168.0.0/24
VR 1
MCE
FGE1/0/1
Vlan-int10
10.214.10.3/24
FGE1/0/1
Vlan-int30: 30.1.1.2/24
Vlan-int40: 40.1.1.2/24
FGE1/0/3
Vlan-int30: 30.1.1.1/24
Vlan-int40: 40.1.1.1/24
FGE1/0/2
Vlan-int20
10.214.20.3/24