•
Use to create a standard or a regular expression community list for BGP and controls
access to it.
•
A route can belong to any number of communities, so a community list can have many
entries comprising many communities.
•
You can specify one or more community values when you create a community list. A
clause in a route map that includes a list having more than one value only matches a
route having all of the values; that is, the multiple values are logical ANDed.
•
Example
host1(config)#
ip community-list 1 permit 100:2 100:3 100:4
host1(config)#
route-map marengo permit 10
host1(config-route-map)#
match community 1
A route matches this community list only if it belongs to at least all three communities
in community list 1: Communities 100:2, 100:3, and 100:4.
•
Use the
no
version to remove a single community list entry if permit or deny and a
path-expression are specified. Otherwise, the entire community list is removed.
•
See ip community-list.
The router supports the new BGP extended community attribute. This attribute enables
the definition of a new type of IP extended community and extended community list
unrelated to the community list that uses regular expressions. BGP speakers can use the
new extended community attribute to control routes similarly to the way it uses the
community attribute. The extended community attribute is currently defined in the Internet
draft, BGP Extended Communities Attribute—draft-ietf-idr-bgp-ext-communities-07.txt
(February 2004 expiration).
NOTE:
IETF drafts are valid for only 6 months from the date of issuance. They must be
considered as works in progress. Please refer to the IETF Web site at http://www.ietf.org
for the latest drafts.
ip extcommunity-list
•
Use to create an extended community list for BGP and control access to it.
•
A route can belong to any number of communities, so an extended community list can
have many entries comprising many communities.
•
You can specify one or more community values when you create an extended
community list. A clause in a route map that includes a list having more than one value
only matches a route having all of the values; that is, the multiple values are logical
ANDed.
•
Example
host1(config)#
ip extcommunity-list boston1 permit 100:2 100:3 100:4
host1(config)#
route-map marengo permit 10
host1(config-route-map)#
match extcommunity boston1
95
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...