40 ip community-list standard – CANOGA PERKINS 9175 Command Reference User Manual

Page 271

Advertising
background image

CanogaOS Command Reference

16-26

community attributes in a specified format and not with regular expressions. The expanded community-list

defines the communities attributes with regular expressions.

Examples

Switch# configure terminal

Switch(config)# ip community-list 125 permit 6789906

Switch(config)# ip community-list expanded CLIST permit .*

Related Commands

ip community-list, ip community-list standard

16.40 ip community-list standard

Use this command to add a standard community-list entry.

Use the no parameter with this command to delete the standard community-list entry.

Command Syntax

(no) ip community-list STANDARD deny|permit .COMMUNITY

STANDARD = <1-99>|(standard WORD) Specifies the community listname.

<1-99> Standard community list number.

standard Specifies a standard community list.

WORD Standard community list number

deny Specifies community to reject.

permit Specifies community to accept.

COMMUNITY = AS:VAL|internet|local-AS|no-advertise|no-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.

internet Specifies routes not to be advertised to the Internet.

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 the Autonomous System boundary.

Command Mode

Configure mode

Usage

Use the community-lists to specify BGP community attributes. The community attribute is used for

implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies

through different autonomous systems. It includes community values that are 32 bits long.

There are two kinds of community-lists--the expanded and standard. The standard community-list defines the

community attributes in a specified format without regular expressions. The expanded community-list defines

the communities attributes with regular expressions.

Use the ip community-list standard command to add a standard community-list entry. The standard

Advertising