DGS-6604
ip community-list
CLI Reference Guide
245
ip community-list
Use this command to add a community list entry. Use the
no
form of this
command to delete the community list entry.
ip community-list
COMMUNITY-LIST-NAME
{permit | deny}
COMMUNITY
no ip community-list
COMMUNITY-LIST-NAME
[ {permit | deny}
COMMUNITY
]
Default
BGP community exchange is not enabled by default. It is enabled on a per-
neighbor basis with the
neighbor send-community
command.
The Internet community is applied to all routes or prefixes by default, until any
other community value is configured with this command or the
set community
command.
Command Mode
Global configuration
Usage Guideline
Use the community-lists to specify BGP community attributes. The community
attribute is used for implementing policy routing. It is an optional, transitive
attribute and facilitates transfer of local policies through different autonomous
systems. It includes community values that are 32 bits long.
This command can be applied multiple times.
In the command
no ip community access-list
COMMUNITY-LIST-NAME
if a
permit or deny keyword is not specified, then all community lists bonded at the
specified access list will be removed.
Example
This example (on the next page) shows how to configure a community list
Syntax Description
COMMUNITY-LIST-
NAME
Specifies the community list name. The syntax is a general string up to 32
characters in length with no spaces.
permit
Specifies the community to accept.
deny
Specifies the community to reject.
COMMUNITY
This is a user-specified number (32-bits integer) represented by AA:NN, where
AA (AS number) is the upper part of the word and NN (community number, user-
specified) is the lower part of the word.
It can also be one of the following reserved community:
internet
: Specifies routes.
local-AS
: Specifies routes not to be advertised to external BGP peers.
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.
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...