CANOGA PERKINS 9175 Command Reference User Manual

Page 506

Advertising
background image

CanogaOS Command Reference

28-18

match command specifies the match criteria under which redistribution is allowed for the

current route-map. The set command specifies the set redistribution actions to be performed, if

the match criteria are met.

If the packets do not match any of the defined criteria, they are routed through the normal

routing process.

Note:

This command is valid for BGP only.


Command Syntax

set community [ AA:NN | internet | local-AS | no-advertise | no-export ] [additive]

set community none

no set community

Syntax Description

AA:NN

Specifies the community number in this format.
AA = The AS number.
NN = The number assigned to community.

internet

Specifies the Internet

(well-known community).

local-AS

Specifies no sending outside the local AS

(well-known community).

no-advertise

Specifies no advertisement of this route to any peer

(well-known community).

no-export

Specifies no advertisement of this route to next AS

(well-known community).

none

Removes the community attribute from the prefixes

that pass the route-map.

additive

Adds to the existing community.

Command Mode

Route-map mode

Defaults

No set community is specified by default.

Examples

The following examples show the use of the set community command with different

parameters.

Switch# configure terminal

Switch(config)# route-map rmap1 permit 3

Switch(config-route-map)# set community no-export no-advertise

Switch# configure terminal

Switch(config)# route-map rmap1 permit 3

Switch(config-route-map)# set community no-advertise

Advertising