
BGP and BGP4+ Commands
set community (Route Map)
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
no set community {[AA:NN] [internet]
set community none
no set community none
Parameter | Description |
|
|
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. |
|
|
| 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. |
|
|
| The community of routes that must not be advertised to other BGP |
| peers. |
|
|
| 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). |
|
|
none | The device removes the community attribute from matching update |
| messages. |
|
|
additive | The device adds the specified community value to the update |
| message’s community attribute, instead of replacing the existing |
| attribute. By default this parameter is not included, so the device |
| replaces the existing attribute. |
|
|
Mode
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
3.204 | AlliedWare PlusTM Operating System - Software Version |