Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
3.68 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
ip community-list expanded (BGP and BGP4+)
Use this command to add an entry to an expanded BGP community-list filter.
Use the no variant of this command to delete the community list entry.
Syntax ip community-list <100-199> {deny|permit} .<line>
no ip community-list <100-199> {deny|permit} .<line>
ip community-list expanded <expanded-listname> {deny|permit} .<line>
no ip community-list expanded <expanded-listname> {deny|permit}
.<line>
Regular expressions listed below can be used with the ip community-list expanded
command:
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. A standard community-
list defines the community attributes explicitly and not via a regular expression. An
expanded community-list defines the communities attributes with regular expressions.
Parameter Description
<100-199> Expanded community list number.
expanded Specifies an expanded community list.
<expanded-listname> Expanded community list entry.
deny Specifies community to reject.
permit Specifies community to accept.
.<line> Specifies community attributes with regular expressions.
Symbo
l Character Meaning
^ Caret Used to match the beginning of the input string. When used at the
beginning of a string of characters, it negates a pattern match.
$ Dollar sign Used to match the end of the input string.
. Period Used to match a single character (white spaces included).
* Asterisk Used to match none or more sequences of a pattern.
+ Plus sign Used to match one or more sequences of a pattern.
? Question
mark
Used to match none or one occurrence of a pattern.
_Underscor
e
Used to match spaces, commas, braces, parenthesis, or the
beginning and end of an input string.
[ ] Brackets Specifies a range of single-characters.
- Hyphen Separates the end points of a range.