Concept Guide

To congure an IP community list, use these commands.
1 Create a community list and enter COMMUNITY-LIST mode.
CONFIGURATION mode
ip community-list community-list-name
2 Congure a community list by denying or permitting specic community numbers or types of community.
CONFIG-COMMUNITYLIST mode
{deny | permit} {community-number | local-AS | no-advertise | no-export | quote-regexp
regular-expression-list | regexp regular-expression}
community-number: use AA:NN format where AA is the AS number (2 Bytes or 4 Bytes) and NN is a value specic to that
autonomous system.
local-AS: routes with the COMMUNITY attribute of NO_EXPORT_SUBCONFED.
no-advertise: routes with the COMMUNITY attribute of NO_ADVERTISE.
no-export: routes with the COMMUNITY attribute of NO_EXPORT.
quote-regexp: then any number of regular expressions. The software applies all regular expressions in the list.
regexp: then a regular expression.
Example of the show ip community-lists Command
To view the conguration, use the show config command in CONFIGURATION COMMUNITY-LIST or CONFIGURATION
EXTCOMMUNITY LIST mode or the show ip {community-lists | extcommunity-list} command in EXEC Privilege mode.
Dell#show ip community-lists
ip community-list standard 1
deny 701:20
deny 702:20
deny 703:20
deny 704:20
deny 705:20
deny 14551:20
deny 701:112
deny 702:112
deny 703:112
deny 704:112
deny 705:112
deny 14551:112
deny 701:667
deny 702:667
deny 703:667
deny 704:666
deny 705:666
deny 14551:666
Dell#
Conguring an IP Extended Community List
To congure an IP extended community list, use these commands.
1 Create a extended community list and enter the EXTCOMMUNITY-LIST mode.
CONFIGURATION mode
ip extcommunity-list extcommunity-list-name
2 Two types of extended communities are supported.
CONFIG-COMMUNITY-LIST mode
{permit | deny} {{rt | soo} {ASN:NN | IPADDR:N} | regex REGEX-LINE}
212
Border Gateway Protocol IPv4 (BGPv4)