Command Line Reference Guide

Access Control Lists (ACL) | 261
Defaults
Not configured.
Command Modes
COMMUNITY-LIST
Command
History
ip community-list
e
Enter COMMUNITY-LIST mode and create an IP community-list for BGP.
Syntax
ip community-list comm-list-name
To delete a community-list, use the no ip community-list comm-list-name command.
Parameters
Command Modes
CONFIGURATION
Example
Figure 7-18. Command Example: ip community-list
Command
History
no-export Enter the keywords no-export to drop all routes containing the well-known
community attribute of NO_EXPORT.
All routes with the NO_EXPORT (0xFFFFFF01) community attribute must not be
advertised outside a BGP confederation boundary.
regexp
regular-expression
Enter the keyword regexp followed by a regular expression. Use one or a
combination of the following:
. = (period) matches on any single character, including white space
* = (asterisk) matches on sequences in a pattern (zero or more sequences)
+ = (plus sign) matches on sequences in a pattern (one or more sequences)
? = (question mark) matches sequences in a pattern (0 or 1 sequences). You must
enter an escape sequence (CTRL+v) prior to entering the ? regular
expression.
[] = (brackets) matches a range of single-character patterns.
^ = (caret) matches the beginning of the input string. (If the caret is used at the
beginning of a sequence or range, it matches on everything BUT the characters
specified.)
$ = (dollar sign) matches the end of the output string.
_ = (underscore) matches a comma (,), left brace ({), right brace (}), left
parenthesis, right parenthesis, the beginning of the input string, the end of the
input string, or a space.
| = (pipe) matches either character.
Version 8.1.1.0 Introduced on E-Series ExaScale
pre-Version 6.1.1.0 Introduced for E-Series
comm-list-name
Enter a text string as the name of the community-list, up to 140 characters.
Force10(conf)#ip community-list TestComList
Force10(config-community-list)#
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.8.1.0 Increased name string to accept up to 140 characters. Prior to 7.8.1.0, names are up to
16 characters long.
pre-Version 6.1.1.0 Introduced for E-Series