host1:vr1(config-router)#
neighbor 192.3.4.5 send-community standard
•
Use the
no
version to specify that common attributes not be sent to a BGP neighbor.
•
See neighbor send-community.
set community
•
Use to set the community attribute in BGP updates.
•
You can specify a community list number in the range 1–4294967295, or in the new
community format of
AA
:
NN
, or you can specify one of the following well-known
communities:
•
local-as
—Prevents advertisement outside the local AS
•
no-advertise
—Prevents advertisement to any peer
•
no-export
—Prevents advertisement beyond the BGP confederation boundary
•
Alternatively, you can use the
list
keyword to specify the name of a community list
that you previously created with the
ip community-list
command.
•
You can use this command with inbound, outbound, and redistribution route maps.
•
Use the
none
keyword to remove the community attribute from a route.
•
Example
host1(config)#
route-map 1
host1(config-route-map)#
set community no-advertise
•
Use the
no
version to remove the set clause from a route map.
•
See set community.
Extended Community Lists
The router supports the BGP extended community attribute defined in Internet draft BGP
Extended Communities Attribute— draft-ietf-idr-bgp-ext-communities-07.txt (February
2004 expiration). This attribute enables the definition of a type of IP extended community
and extended community list unrelated to the community list that uses regular
expressions.
NOTE:
IETF drafts are valid for only six months from the date of issuance. They must
be considered as works in progress. For the latest drafts, please see the IETF Web site
at http://www.ietf.org.
BGP devices can use the extended community attribute to control routes much like they
use the community attribute to determine routes that they accept, reject, or redistribute.
A BGP device can append the extended community attribute to a route that does not
have the attribute before it advertises the route. For routes that do have the attribute,
BGP can modify the attribute.
ip extcommunity-list
Copyright © 2010, Juniper Networks, Inc.
40
JunosE 11.2.x IP Services Configuration Guide
Summary of Contents for JUNOSE 11.2.X IP SERVICES
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Page 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Page 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Page 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Page 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Page 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Page 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Page 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Page 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Page 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Page 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...