PREV NEXT INDEX

Avici Systems Inc.


set community


Adds a community set clause to the route map.

Syntax: set community community-number [additive | none | no-export | no-advertise | local-as]

no set community

community-number

Identifies a community number. Valid values are integer from 1 to 4294967200.

no-export

All routes received carrying this value are not advertised outside a BGP confederation boundary.

no-advertise

All routes received carrying this value are not advertised to other BGP peers.

additive

Adds the community to the already existing communities

none

Removes the community attribute from route prefixes that pass the route-map.

local-as

All routes received carrying this value are not advertised outside the local autonomous system.

Description: Use the set community to add a community set clause to a route map.

Use the no set community command to delete a community attribute from a route map.

Route maps consist of sets of match and set commands. Match commands define the criteria for matching routes. Set commands define the actions applied to a route when it matches the criteria defined by the match commands.

Use the route-map command to create a route map. Use the various match and set commands to define the conditions for redistributing routes between protocols or instances of the same protocol.

A community is a group of destinations which share the community attribute. A BGP speaker can use the community attribute to control which routing information it accepts or distributes to neighbors. A BGP speaker can append the community attribute to routes it receives that do not already have the attribute.

Factory Default: No communities attributes defined.

Command Mode: Route map configuration.

Example 1: In the following example, the set community command specifies that routes that pass as-path access list 3 have their community attribute set to 108:

router(config)#route-map community108 permit 10

router(config-route-map)#match as-path 3

router(config-route-map)#set community 108

router(config-route-map)#end

router(config)#

Example 2: In the following example, the set community command specifies that routes that pass as-path access list 3 have community set to no-export and are not advertised to any EBGP peers.

router(config)#route-map no-export permit 10

router(config-route-map)#match as-path 3

router(config-route-map)#set community no-export

router(config-route-map)#end

router(config)#

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match route-type
match tag
set as-path
set community
set ip next-hop
set level
set local-preference
set metric
set metric-type
set origin
set tag
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol33.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com