Configuring an ldp instance, Configuring routing between pe and ce – H3C Technologies H3C SR8800 User Manual

Page 259

Advertising
background image

248

NOTE:

If you specify more than one tunnel type and the number of tunnels of a type is less than the specified
number of tunnels for load balancing, tunnels of different types may be used.

When you configure the tunnel selection preference order by using the tunnel select-seq command, a
tunnel type closer to the select-seq keyword has a higher priority. For example, with the tunnel

select-seq lsp cr-lsp load-balance-number 1 command configured, VPN uses a CR-LSP tunnel when

no LSP exists. After an LSP is created, the VPN uses the LSP tunnel instead.

A tunneling policy configured in VPN instance view is applicable to both IPv4 VPNs and IPv6 VPNs.

You can configure a tunneling policy for IPv4 VPNs in both VPN instance view and IPv4 VPN view. A
tunneling policy configured in IPv4 VPN view takes precedence.

Create a tunneling policy before associating it with a VPN instance. Otherwise, the default tunneling
policy is used. The default tunneling policy selects only one tunnel (no load balancing) in this order: LSP

tunnel, CR-LSP tunnel.

Configuring an LDP instance

LDP instances are for carrier’s carrier networking applications.
This task is to configure the LDP capability for an existing VPN instance, create an LDP instance for the
VPN instance, and configure LDP parameters for the LDP instance.
To configure an LDP instance:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable LDP for a VPN

instance, create an LDP
instance, and enter MPLS LDP

VPN instance view.

mpls ldp vpn-instance

vpn-instance-name

Disabled by default

3.

Configure LDP parameters

except LDP GR for the
instance.

For configuration information, see
the chapter “Configuring basic

MPLS.”

Optional

NOTE:

Except the command for LDP GR, all commands available in MPLS LDP view can be configured in MPLS
LDP VPN instance view. For more information about MPLS LDP, see the chapter “Configuring basic

MPLS.”

Configurations in MPLS LDP VPN instance view affect only the LDP-enabled interface bound to the VPN
instance, while configurations in MPLS LDP view do not affect interfaces bound to VPN instances. When
configuring the transport address of an LDP instance, you need to use the IP address of the interface

bound to the VPN instance.

By default, LDP adjacencies on a private network are established by using addresses of the LDP-enabled
interfaces, while those on the public network are established by using the LDP LSR ID.

Configuring routing between PE and CE

You can configure static routing, RIP, OSPF, IS-IS, EBGP, or IBGP between PE and CE.

Advertising