C613-50631-01 Rev A Command Reference for IE340 Series 1534
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
SET
COMMUNITY
set community
Overview Use this command to add a community set clause to a route map entry.
When a BGP update message matches the route map entry, the device takes one
of the following actions:
• changes the update’s community attribute to the specified value or values,
or
• adds the specified community value or values to the update’s community
attribute, if you specify the additive parameter after specifying another
parameter. or
• removes the community attribute from the update, if you specify the none
parameter
Use the no variant of this command to remove the set clause.
Syntax
set community {[<1-65535>][AA:NN] [internet] [local-AS]
[no-advertise] [no-export] [additive]}
no set community {[AA:NN] [internet] [local-AS] [no-advertise]
[no-export] [additive]}
set community none
no set community none
Parameter Description
<1-65535> The AS number of the community as an integer not in AA:NN
format.
AA:NN The Autonomous System (AS) number of the community, in AA:NN
format. AS numbers are assigned to the regional registries by the
IANA (www.iana.org) and can be obtained from the registry in your
region.
AA and NN are both integers from 1 to 65535.
AA is the AS number; NN is a value chosen by the ASN administrator.
local-AS The community of routes that must not be advertised to external
BGP peers (this includes peers in other members’ Autonomous
Systems inside a BGP confederation).
internet The community of routes that can be advertised to all BGP peers.
no-advertise The community of routes that must not be advertised to other BGP
peers.
no-export The community of routes that must not be advertised outside a BGP
confederation boundary (a standalone Autonomous System that is
not part of a confederation should be considered a confederation
itself).