R3303-HP HSR6800 Routers MPLS Configuration Guide

12
Make sure the ingress LSR has a route to the FEC destination. This is not required on the transit LSRs
and egress LSR.
Configuration guidelines
Follow these guidelines when you configure a static LSP:
Do not specify a P2MP interface (such as a P2MP-type ATM subinterface or frame relay
subinterface) as the outgoing interface. Otherwise, the static LSP cannot be up.
On the ingress LSR, the specified next hop or outgoing interface 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. For information about configuring a static IP route, see Layer 3—IP Routing Configuration
Guide.
For an ingress or transit LSR, do not specify the public address of an interface on the LSR as the next
hop address.
Configuration procedure
To configure a static LSP:
Ste
p
Command
1. Enter system view.
system-view
2. Configure a static LSP taking the current LSR as
the ingress.
static-lsp ingress lsp-name destination dest-addr
{ mask | mask-length } { nexthop next-hop-addr |
outgoing-interface interface-type interface-number }
out-label out-label
3. Configure a static LSP taking the current LSR as a
transit LSR.
static-lsp transit lsp-name incoming-interface
interface-type interface-number in-label in-label
{ nexthop next-hop-addr | outgoing-interface
interface-type interface-number } out-label out-label
4. 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
Establishing dynamic LSPs through LDP
Perform the tasks in this section so the device can use LDP to set up dynamic LSPs.
Configuring MPLS LDP capability
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable LDP capability globally and
enter MPLS LDP view.
mpls ldp Not enabled by default.