351
•
Assigns MPLS labels to routes received from the PEs in the same AS before advertising them to the
peer ASBR PE.
•
Assigns new MPLS labels to the labeled routes to be advertised to the PEs in the same AS.
The configuration is the same as that in the Inter-AS IPv4 VPN option C solution (see “
”).
Configuring routing on an MCE
An MCE implements service isolation through route isolation. MCE routing configuration includes:
•
MCE-VPN site routing configuration
•
MCE-PE routing configuration
On the PE in an MCE network environment, disable routing loop detection to avoid route loss during
route calculation and disable route redistribution between routing protocols to save system resources.
Configuration prerequisites
Before you configure routing on an MCE, complete the following tasks:
•
On the MCE, configure VPN instances, and bind the VPN instances with the interfaces connected
to the VPN sites and those connected to the PE.
•
Configure the link layer and network layer protocols on related interfaces to ensure IP connectivity.
Configuring routing between MCE and VPN site
Configuring IPv6 static routing between MCE and VPN site
An MCE can reach a VPN site through an IPv6 static route. IPv6 static routing on a traditional CE is
globally effective and thus does not support address overlapping among VPNs. An MCE supports
binding an IPv6 static route with an IPv6 VPN instance, so that the IPv6 static routes of different IPv6 VPN
instances can be isolated from each other.
To configure IPv6 static routing between MCE and VPN site:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure IPv6 static routes for an
IPv6 VPN instance
ipv6 route-static
ipv6-address prefix-length
{
interface-type
interface-number
[
next-hop-address
] |
next-hop-address
|
vpn-instance
d-vpn-instance-name
nexthop-address
} [
preference
preference-value
]
Required
Use either command.
Perform this
configuration on the
MCE. On a VPN site,
configure normal IPv6
static routes.
ipv6 route-static
vpn-instance
s-vpn-instance-name
&<1-6>
ipv6-address
prefix-length
{
interface-type interface-number
[
next-hop-address
] |
nexthop-address
[
public
]
|
vpn-instance
d-vpn-instance-name
nexthop-address
} [
preference
preference-value
]
Configure the default precedence
for IPv6 static routes
ipv6 route-static default-preference
default-preference-value
Optional
60 by default