
C613-50186-01 Rev B
Command Reference for AR2050V
1179
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
IP
COMMUNITY
-
LIST
STANDARD
ip community-list standard
Overview
Use this command to add an entry to a standard BGP community-list filter.
Use the
no
variant of this command to delete the standard community-list entry.
Syntax
ip community-list <
1-99
> {deny|permit} [.<
community
>]
no ip community-list <
1-99
> {deny|permit} [.<
community
>]
ip community-list standard <
standard-listname
> {deny|permit}
[.<
community
>]
no ip community-list standard <
standard-listname
> {deny|permit}
[.<
community
>]
Mode
Global Configuration
Usage
A community-list can be used as a filter to BGP updates. Use this command to
define the community access list globally, then use neighbor configuration
commands to apply the list to a particular neighbor.
There are two kinds of community-lists: expanded and standard. The standard
community-list defines the community attributes as explicit values, without
regular expressions. The expanded community-list defines the communities
attributes with regular expressions.
The standard community-list is compiled into binary format and is directly
compared with the BGP communities attribute in the BGP updates. The
comparison is faster than the expanded community-list. Any community value
Parameter
Description
<
1-99
>
Standard community list number.
standard
Specifies a standard community list.
<
standard-listname
>
Standard community list entry.
deny
Specifies community to reject.
permit
Specifies community to accept.
<
community
>
{
<AS:VAL>
|
local-AS
|
no-advertise
|
no-export
}
<
AS:VAL
>
Specifies the valid value for the community number. This
format represents the 32 bit communities value, where
AS
is the high order 16 bits and
VAL
is the low order 16
bits in digit format.
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 the
Autonomous System boundary.