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

Page 413

Advertising
background image

CanogaOS Command Reference

25-1

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
clear ldp adjacency
Use this command to clear an adjacency with a specified peer (IP address
A.B.C.D), or to clear all adjacencies for the current LSR.

Command Syntax

clear ldp adjacency {A.B.C.D |*}

Syntax Description

Advertising