454
Configuring the MCE that uses EBGP to advertise VPN routes to
the PE
Network requirements
As shown in
, configure the MCE to advertise the routes of VPNs 1 and 2 to PE 1, so that the
sites of each VPN can communicate with each other over the MPLS backbone.
Run OSPF in both VPN 1 and VPN 2. Run EBGP between the MCE and PE 1.
Figure 111
Network diagram
Configuration procedure
1.
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.214.10.0 0.0.0.255
[MCE-ospf-10-area-0.0.0.0] quit