configure mpls ldp advertise

configure mpls ldp advertise [{direct [all | lsr-id | none]} | {rip [all | none] | {static [all | none]}

Description

Configures a filter to be used by LDP when originating unsolicited label mapping advertisements to LDP neighbors.

Syntax Description

direct Specifies that the advertisement filter is applied to the associated FECs with directly-attached routing interfaces.
rip Specifies that the advertisement filter is applied to FECs associated with RIP routes exported by OSPF.
static Specifies that the advertisement filter is applied to FECs associated with static routes.
all Specifies that unsolicited label mapping advertisements are originated for all routes of the specified type.
lsr-id Specifies that an unsolicited label advertisement is originated for a direct route that matches the MPLS LSR ID.
none Specifies that no unsolicited label mapping advertisements are originated for the specified route type.

Default

None—the default setting for RIP and static routing methods.

lsr-id—the default setting for direct routes.

Usage Guidelines

You can configure how the advertisement filter is applied, as follows:
  • direct—The advertisement filter is applied to the FECs associated with directly-attached routing interfaces.
  • rip—The advertisement filter is applied to the FECs associated with RIP routes exported by OSPF.
  • static—The advertisement filter is applied to the FECs associated with static routes.
You can configure the advertisement filter, as follows:
  • all—Label mappings are originated for all routes of the specified type.
  • none—No label mappings are originated for all routes of the specified type. This is the default setting for RIP and static routes.
  • lsr-id—A label mapping is originated for a direct route that matches the MPLS LSR ID. This is the default setting for direct routes.

Advertising labels for a large number of routes may increase the required number of labels that must be allocated by LSRs. Take care to ensure that the number of labels advertised by LERs does not overwhelm the label capacity of the LSRs.

Example

The following command configures LDP to originate labels for all local IP interfaces:

configure mpls ldp advertise direct all

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available only on the platforms that support MPLS as described in the Switch Engine 32.2 Feature License Requirements document.