Allied Telesis manual Ip community-list expanded BGP and BGP4+, 100-199, Expanded, Line

Models: BGP4 VERSION 5.4.3-2.6

1 350
Download 350 pages 8.81 Kb
Page 166
Image 166

BGP and BGP4+ Commands

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> {denypermit} .<line>

no ip community-list <100-199> {denypermit} .<line>

ip community-list expanded <expanded-listname> {denypermit} .<line> no ip community-list expanded <expanded-listname> {denypermit}

.<line>

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.

 

 

Regular expressions listed below can be used with the ip community-list expanded command:

Symbo

lCharacter 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

Used to match none or one occurrence of a pattern.

 

mark

 

 

 

 

_

Underscor

Used to match spaces, commas, braces, parenthesis, or the

 

e

beginning and end of an input string.

 

 

 

[ ]

Brackets

Specifies a range of single-characters.

 

 

 

-

Hyphen

Separates the end points of a range.

 

 

 

Mode Global Configuration

Usage A community-listcan 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.

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.68

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 166
Image 166
Allied Telesis VERSION 5.4.3-2.6 manual Ip community-list expanded BGP and BGP4+, 100-199, Expanded, Line