User guide

MPLS Module Installation and User Guide 4-5
Configuring LDP
config mpls ldp advertise [add | delete] vlan
<name>
Configures LDP to originate an unsolicited label
for the FECs associated with the directly attached
routing interface of the specified VLAN. The
delete keyword removes label origination of the
direct route for the specified VLAN. The LDP
label origination configuration for directly attached
routing interfaces can also be set using the
config mpls ldp advertise direct
command.
config mpls ldp advertise [direct | rip | static]
[all | none | route-map <route_map>]
Configures a filter to be used by LDP when
originating unsolicited label mapping
advertisements to LDP neighbors. Specify one of
the following routing methods:
direct The advertisement filter is applied
to the associated FECs with direct routes
exported by OSPF.
rip The advertisement filter is applied to
FECs associated with RIP routes exported by
OSPF.
static The advertisement filter is applied
to FECs associated with static routes exported
by OSPF.
Additionally, specify one of the following filters:
all Unsolicited label mapping
advertisements are originated for all routes of
the specified type. This is the default setting
for the direct routing method.
none No unsolicited label mapping
advertisements are originated for the specified
route type. This is the default setting for the
RIP and static routing methods.
route-map The specified route map is
used to filter the origination of unsolicited label
mapping advertisements for the specified
route type. Only the nlri-list route-map
match operation keyword is supported for
filtering origination of MPLS label
advertisements.
config mpls vlan [<name> | all] ldp propagate
[all | none | route-map <route_map>]
Configures a filter to be used by LDP when
propagating unsolicited label mappings to all LDP
neighbors on one or all VLANs.
Table 4-1: LDP Configuration Commands (continued)
Command Description