25 ldp commnands, 1 advertise-labels for – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 456

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 456 of 855

25 LDP Commnands

25.1 advertise-labels for

Use this command to specify which destinations have their labels advertised to LDP neighbors.
Use the no parameter to specify which destinations do not have their labels advertised to LDP
neighbors

Command Syntax

(no) advertise-labels for PREFIX_ACL to {PEER_ACL | any}

Syntax Description

PREFIX_ACL

Destinations which have their labels advertised.

PEER_ACL

LDP neighbors which receive these advertisements.

any

All LDP neighbors.

Command Mode

Router mode

Defaults

The labels of all destinations are advertised to all LDP neighbors.

Examples

In the following example, the advertise-labels for command is used to specify which
destinations have their labels advertised to all LDP neighbors:

Switch# configure terminal

Switch(config)# router ldp

Switch(config-router)#

advertise-labels for prefix-acl to any

Related Commands

advertise-labels for any to none,
advertise-labels for prefix-acl to peer-acl

Advertising