3com 8807 User Guide

Page of 883
LDP Configuration
517
By default, the labels of all destination addresses are advertised to all LDP peers.
Configuring Static LSP
You can manually set an LSR to be a node along an LSP, and place a limit on the 
traffic over the LSP. Depending on the position in an MPLS domain, an LSR along 
an LSP can be the ingress node, an intermediate node (also called transit node), or 
the egress node. Note that an LSP operates normally only after all the LSRs along 
the LSP have been properly configured.
Perform the following configuration in MPLS view.
LDP Configuration
The following sections describe the required LDP configuration tasks for MPLS 
basic capability:
The following sections describe the optional LDP configuration tasks for MPLS 
basic capability:
Enabling LDP protocol
To configure LDP, first enable LDP.
Perform the following configuration in the system view.
Cancel the configuration of the advertisement 
of local distribution labels 
undo mpls ldp label-advertise { 
fec-ip-prefix | all }
Table 501   Configure the advertisement of local distribution labels
Operation Command 
Table 502   Set the local LSR to a node on a specified LSP
Operation 
Command 
Set the current LSR to the 
ingress node of the specified 
LSP 
static-lsp ingress lsp-name { destination dest-addr { 
addr-mask | mask-length } | l2vpn } nexthop next-hop-addr } } 
out-label out-label-value 
Cancel the ingress node 
setting of the specified LSP 
undo static-lsp ingress lsp-name 
Set the current LSR to an 
intermediate node along the 
specified LSP 
static-lsp transit lsp-name [ l2vpn ] incoming-interface 
interface-type interface-number in-label in-label-value 
nexthop next-hop-addr out-label out-label-value 
Cancel the intermediate 
node setting of the specified 
LSP 
undo static-lsp transit lsp-name 
Set the current LSR to the 
egress node of the specified 
LSP 
static-lsp egress lsp-name [ l2vpn ] incoming-interface 
interface-type interface-number in-label in-label-value 
Cancel the egress node 
setting of the specified LSP 
undo static-lsp egress lsp-name