# mpls ldp advertise-labels

#### Syntax

mpls ldp advertise-labels { host-only | for routeAccessList [ to neighborAccessList ] | interface interfaceType interfaceSpecifier }

no mpls ldp advertise-labels { policy-list | host-only |
for routeAccessList [ to neighborAccessList ]
| interface interfaceType interfaceSpecifier }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Controls the distribution of incoming labels advertised by LDP. The no version halts advertisement of all incoming labels or the specified labels.

#### Options

- host-only—Advertises only labels for host routes (routes with a 32-bit mask)
- routeAccessList—Name of access list identifying routes for which label advertisement is permitted or denied
- neighborAccessList—Name of access list identifying neighbors to which the LSR advertises labels
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- policy-list—Deletes all lists configured with the for routeAccessList option

#### Mode

Global Configuration