Related
Commands
ip community-list
— configures community access list.
match community
— redistributes routes that match the COMMUNITY attribute.
set community
— specifies a COMMUNITY attribute.
set community
Allows you to assign a BGP COMMUNITY attribute.
Z9500
Syntax
set community {
community-number
| local-as | no-advertise | no-
export | none} [additive]
To delete a BGP COMMUNITY attribute assignment, use the
no set community
{
community-number
| local-as | no-advertise | no-export | none}
command.
Parameters
community-
number
Enter the community number in AA:NN format where AA is
the AS number (2 bytes) and NN is a value specific to that
autonomous system.
local-AS
Enter the keywords
local-AS
to drop all routes with the
COMMUNITY attribute of NO_EXPORT_SUBCONFED.
All routes with the NO_EXPORT_SUBCONFED (0xFFFFFF03)
community attribute must not be advertised to external BGP
peers.
no-advertise
Enter the keywords
no-advertise
to drop all routes
containing the well-known community attribute of
NO_ADVERTISE.
All routes with the NO_ADVERTISE (0xFFFFFF02) community
attribute must not be advertised to other BGP peers.
no-export
Enter the keywords
no-export
to drop all routes containing
the well-known community attribute of NO_EXPORT.
All routes with the NO_EXPORT (0xFFFFFF01) community
attribute must not be advertised outside a BGP
confederation boundary.
none
Enter the keyword
none
to remove the community attribute
from routes meeting the route map criteria.
additive
(OPTIONAL) Enter the keyword
additive
to add the
communities to already existing communities.
322
Access Control Lists (ACL)