Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 926 –
Example
This example configures a named standard community list LN that permits routes
with community value 100:10, denoting that they come from autonomous system
100 and network 10.
Console(config)#ip community-list standard LN permit 100:10
Console(config)#
Related Commands
neighbor send-community (970)
match community (996)
ip extcommunity-list This command configures an extended community access list. Use the no form
with only the access list name to disable its use, or with the relevant parameters to
remove a community attribute from the access list.
Syntax
[no] ip extcommunity-list
{1-99 | standard community-list-name {deny | permit}
[{rt | soo} extended-community-value]} |
{100-500 | expanded community-list-name {deny | permit}
regular-expression}
1-99 – Standard community list number that identifies one or more groups
of communities.
standard community-list-name – Name of standard access list. A maximum
of 16 extended communities can be configured in a standard community
list. (Maximum length: 32 characters, no spaces or other special characters)
deny – Denies access to messages with matching extended community
attribute.
permit – Permits access for messages with matching extended community
attribute.
rt – The route target extended community attribute.
soo – The site of origin extended community attribute.
extended-community-value – The route target or site of origin in one of the
following formats:
AAAA:NN or AA:NNNN – Community-number to deny or permit. The
community number can either be formatted as a 4-byte autonomous
system number and a 2-byte network number, or as a 2-byte
autonomous system number and a 4-byte network number, separated
by one colon. Each 2-byte number can range from 0 to 65535, and 4-
byte numbers from 0 to 4294967295.