DGS-6604
m
set community
CLI Reference Guide
550
set community
Use this command to set the BGP communities attribute, to delete an entry, use
the
no
form of this command.
set community {
COMMUNITY-NUMBER
[additive] |
WELL-KNOWN-COMMUNITY
[additive] |
none}
no set community {
COMMUNITY-NUMBER
[additive] |
WELL-KNOWN-COMMUNITY
[additive]}
Default
Disabled
Command Mode
Route-map configuration
Usage Guideline
BGP community exchange is not enabled by default. It is enabled on a per-
neighbor basis with the neighbor send-community command.
The community will be sent out in the BGP packet only when set community is
specified in the route map, and if all match criteria are met, all set actions are
performed.
If additive is not specified, the user-defined communities in the route will be
replaced.
User-defined community is transitive, Well-known community is not-transitive.
This command is useful for routes received from EBGP and to be transmitted to
IBGP.
Syntax Description
COMMUNITY-
NUMBER
The community number value. It is presented in a “AA:NN” format, and the AA
and the NN both are numbers from 0 to 65535.
WELL-KNOWN-
COMMUNITY
(Optional) Well known communities can be specified by using the following
keywords:
internet
: Specifies routes not to be advertised to the Internet.
local-AS
: Specifies routes not to be advertised peers outside of the AS including
sub-AS.
no-advertise
: Specifies routes not to be advertised to other BGP peers.
no-export
: Specifies routes not to be advertised outside of Autonomous System
boundary.
additive
(Optional) Adds the community to the already existing communities.
none
Removes the community attribute from the prefixes that pass the route map.
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...