BGP and BGP4+ Commands

ip community-list (BGP and BGP4+)

Use this command to add an entry to a standard or extended BGP community-list filter.

Use the no variant of this command to delete a standard or extended community list entry.

Syntax [BGP/BGP4+] ip community-list <listname> {denypermit} .<community>

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

Parameter

Description

 

 

<listname>

Specifies the community listname.

 

 

deny

Specifies the community to reject.

 

 

permit

Specifies the community to accept.

 

.<community> {<AS:VAL>local-ASno-advertiseno-export}

 

 

<AS:VAL>

Specifies the valid value for the community number. This format

 

represents the 32 bit communities value, where AS is the high order

 

16 bits and VAL is the low order 16 bits in digit format.

 

 

local-AS

Specifies routes not to be advertised to external BGP peers.

 

 

no-advertise

Specifies routes not to be advertised to other BGP peers.

 

 

no-export

Specifies routes not to be advertised outside of Autonomous System

 

boundary.

 

 

Mode [BGP/BGP4+] Global Configuration

Usage [BGP/BGP4+] 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.

The standard community-list is compiled into binary format and is directly compared with the BGP communities attribute in the BGP updates. The comparison is faster than the expanded community-list. Any community value that does not match the standard community value is automatically treated as expanded.

Example [BGP/BGP4+]

Related Commands

awplus# configure terminal

awplus(config)# ip community-list mylist permit 7675:80 7675:90

ip community-list standard (BGP and BGP4+) ip community-list expanded (BGP and BGP4+) show ip community-list (BGP and BGP4+)

 

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

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

3.67

Page 165
Image 165
Allied Telesis VERSION 5.4.3-2.6 manual Ip community-list BGP and BGP4+, Local-AS, No-advertise, No-export