beautypg.com

Establishing dynamic lsps through ldp, Configuring mpls ldp capability, Establishing dynamic lsps – H3C Technologies H3C S7500E Series Switches User Manual

Page 56: Through ldp

background image

2-14

To do…

Use the command…

Remarks

Configure a static LSP taking the

current LSR as the egress

static-lsp egress lsp-name

incoming-interface

interface-type

interface-number

in-label in-label

Required

z

When configuring a static LSP on the ingress LSR, be sure that there is a route available from the
ingress LSR to the FEC destination. This is not required on the transit LSRs and egress LSR.

z

When you configure a static LSP on the ingress LSR, the next hop or outgoing interface specified
must be consistent with the next hop or outgoing interface of the optimal route in the routing table.
If you configure a static IP route for the LSP, be sure to specify the same next hop or outgoing
interface for the static route and the static LSP.

z

For an ingress or transit LSR, do not specify the public address of an interface on the LSR as the
next hop address.

z

For information about configuring a static IP route, see Static Routing Configuration in the Layer 3

- IP Routing Configuration Guide

.

Establishing Dynamic LSPs through LDP

Configuring MPLS LDP Capability

Follow these steps to configure MPLS LDP capability:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable LDP capability globally and

enter MPLS LDP view

mpls ldp

Required

Not enabled by default

Configure the LDP LSR ID

lsr-id lsr-id

Optional

MPLS LSR ID of the LSR by

default

Return to system view

quit

Enter interface view

interface interface-type

interface-number

Enable LDP capability for the

interface

mpls ldp

Required

Not enabled by default