344
Configuring an LDP instance
LDP instances are for carrier’s carrier networking applications.
This task is to enable LDP for an existing VPN instance, create an LDP instance for the VPN instance, and
configure LDP parameters for the LDP instance.
For LDP instance configuration information, see the chapter “Configuring basic MPLS.”
Configuring routing between PE and CE
PE-CE route exchange can be implemented through IPv6 static routes, RIPng, OSPFv3, IPv6 IS-IS, and
eBGP. You may choose one method as needed.
Configuration prerequisites
Before configuring PE-CE route exchange, complete the following tasks:
•
Assign an IPv6 address to the CE-PE interface of the CE
•
Assign an IPv6 address to the PE-CE interface of the PE
Configuring static routes
To configure IPv6 static routing between PE and CE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure IPv6 static routes for a
specific 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
PEs. On CEs,
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
]
NOTE:
For information about IPv6 static routing, see
Layer 3—IP Routing Configuration Guide.
Configuring RIPng between PE and CE
A RIPng process belongs to the public network or a single VPN instance. If you create a RIPng process
without binding it to a VPN instance, the process belongs to the public network.
To configure RIPng between PE and CE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a RIPng process for a VPN
instance and enter RIPng view
ripng
[
process-id
]
vpn-instance
vpn-instance-name
Required
Perform this configuration on PEs.
On CEs, create a normal RIPng
process.