Configuring the Label Distribution Protocol
Table 4-1: LDP Configuration Commands (continued)
Command
show mpls ldp {<ipaddress>} {detail}
Configuring LDP on a VLAN
To configure LDP on a VLAN, use the following command:
config mpls add vlan [<name> | all] {ldp}
This command enables LDP on one of all VLAN. If not specified, both LDP and
RSVP-TE are enabled on the specified VLAN.
To disable LDP on a VLAN, use the following command:
config mpls delete vlan [<name> | all] {ldp}
This command disables LDP on one or all VLANs. This command terminates all LDP
sessions and all established LDP LSPs.
Configuring LDP Filters
You can configure two types of LDP filters:
• Label propagation filters
• Label advertisement filters
Configuring an LDP Label Propagation Filter
To configure an LDP label propagation filter, use the following command:
config mpls vlan [<name> | all] ldp propagate [all | none | route-map
<route_map>]
This command configures a filter to be used by LDP when propagating unsolicited label
mappings to all LDP neighbors on the specified VLAN. If all VLANs are selected, the
settings of this command apply to all MPLS-enabled VLANs.
4-6
Description
Displays MPLS LDP session information for one
or all LSP sessions. Omitting the ipaddress
parameter displays LDP session information for
all LDP sessions.
MPLS Module Installation and User Guide