beautypg.com

19 set dampening – CANOGA PERKINS 9175 Command Reference User Manual

Page 349

background image

CanogaOS Command Reference

19-18

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

Switch# configure terminal

Switch(config)# route-map rmap1 permit 3