PREV NEXT INDEX

Avici Systems Inc.


match community


Adds this BGP community list to the matching clauses of the route map.

Syntax: match community list-name [list-name ...][exact-match]

no match community [list-name]

list-name

Name of a community list.

exact-match

An exact match of the community identifiers in the community list is required.

Description: Use the ip community-list command to create BGP community lists.

Use the match community command to create an entry in a route map to test whether the route is a member of the community specified in the BGP community list.

A community list can include identifiers for several communities.

Use the match community listname syntax to match on one or more community identifiers in a community list. Use the exact match keyword to exactly match all the communities in a community list.

Use the show ip bgp community-list command to display defined community lists

Use the no match community command to delete a community list entry.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match all defined match criteria are processed according to the actions defined by the set commands. Routes that do not match all of the defined match criteria in the route map are ignored.

Communities are groups of destinations that share the community attribute. You can group destinations into communities and then apply routing decisions based on the communities.

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.

Factory Default: No community lists are defined.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#ip community-list 12 permit 109

router(config)#route-map setweight10 permit 10

router(config-route-map)#match community 12

router(config-route-map)#set weight 10

router(config-route-map)#end

router(config)#

Routes that match entries in community-list 12 have their weight set to 10.

Related Commands: ip community-list
match as-path
match ip address
match ip next-hop
match ip route-source
match metric
match route-type
route-map
match tag
set as-path
set community
set community
set ip next-hop
set level
show route-map
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_Pol20.html
    Last Updated: 05/10/04 at 16:38:37

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