PREV NEXT INDEX

Avici Systems Inc.


neighbor send-community


Specifies whether to send the community attribute in route updates to a peer or peer group.

Syntax: [no] neighbor {ip-address | peer-group-name} send-community

ip-address

IP address of this neighbor.

peer-group-name

Name of a BGP peer group.

Description: A community is a group of systems that share common attributes. Communities are created using the set community route map configuration command. Then you can configure routing decisions based on communities. Organizing systems into communities simplifies the task of configuring the distribution of routing information.

For example, the community attribute is used to filter route updates by identifying routes controlled by community-based access lists. Like other access lists, community-based access lists are used in the match clause of route maps.

A given destination can belong to more than one community. Aggregate routes include a community attribute that contains the communities of the initial routes.

BGP can set, append or change the community attribute when routes are learned, advertised or redistributed. Unlike other attributes, community is an optional attribute. As such, you must configure your BGP speakers to include the community attribute in route updates.

Use the neighbor send-community command to include the community attribute in route updates sent to the specified BGP neighbor.

Use the peer-group-name parameter to include the community attribute in updates sent to all members of the specified peer group.

Use the no neighbor send-community to return to the default.

Factory Default: Send no community attribute in route updates.

Command Mode: Router configuration.

Example 1: In the following example, the neighbor send-community command configures the router to send the community attribute to neighbor 121.80.100.4, and the show ip bgp neighbor command displays the setting:

router(config)#router bgp 101

router(config-router)#neighbor 121.80.100.4 remote-as 101

router(config-router)#neighbor 121.80.100.4 send-community

router(config-router)#end

router#show ip bgp neighbor 121.80.100.4

BGP neighbor 121.80.100.4 using remote AS 101

router ID: 0.0.0.0 version: 4

state: Active time: 0:00:00

def orignat: False ebgp multihop: False

n hop self: False route ref client: False

send comm: True       soft reconfig: False

.

.

.

Example 2: In the following example, the neighbor send-community command configures the router to send the community attribute to all members of the peer group named techpubs:

router#router 101

router(config-router)#neighbor techpubs send-community

Example 3: In the following example, the no neighbor send-community command disables sending the community attribute to the members of the peer group techpubs:

router#router 101

router(config-router)#no neighbor techpubs send-community

Related Commands: match community
set community
show ip bgp neighbors


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: BGP_Nd.fm
    HTML File Name: BGP_Nd41.html
    Last Updated: 05/10/04 at 16:36:55

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