Step
6.
Redistribute the IGP routes
of the VPN into BGP.
Configuring routing between an MCE and a PE
MCE-PE routing configuration includes the following tasks:
Binding the MCE-PE interfaces to VPN instances.
•
•
Performing route configurations.
Redistributing VPN routes into the routing protocol running between the MCE and the PE.
•
Perform the following configurations on the MCE. Configure the PE in the same way that a PE in a basic
MPLS L3VPN is configured. For more information about configuring the PE, see
L3VPN."
Configuring static routing between an MCE and a PE
Step
1.
Enter system view.
2.
Configure a static route
for a VPN instance.
3.
(Optional.) Configure
the default preference for
static routes.
Configuring RIP between an MCE and a PE
Step
1.
Enter system view.
2.
Create a RIP process for
a VPN instance and
enter RIP view.
3.
Enable RIP on the
interface attached to
the specified network.
Command
import-route protocol
[ { process-id | all-processes }
[ med med-value | route-policy
route-policy-name ] * ]
Command
system-view
ip route-static vpn-instance s-vpn-instance-name
dest-address { mask-length | mask } { interface-type
interface-number [ next-hop-address ] |
next-hop-address [ public ] [ track
track-entry-number ] | vpn-instance
d-vpn-instance-name next-hop-address [ track
track-entry-number ] } [ permanent ] [ preference
preference-value ] [ tag tag-value ] [ description
description-text ]
ip route-static default-preference
default-preference-value
Command
system-view
rip [ process-id ] vpn-instance
vpn-instance-name
network network-address
444
Remarks
By default, no routes are
redistributed into BGP.
A VPN site must advertise VPN
network addresses to the
connected MCE.
"Configuring MPLS
Remarks
N/A
By default, no static
route is configured.
The default preference is
60.
Remarks
N/A
N/A
By default, RIP is disabled on
an interface.