Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
BGP Commands
page 44-104
OmniSwitch CLI Reference Guide
September 2009
ip bgp policy community-list
Creates or deletes a community list.
ip bgp policy community-list name {none | no-export | no-advertise | no-export-subconfed | num:num}
no ip bgp policy community-list name {none | no-export | no-advertise | no-export-subconfed | 
num:num}
Syntax Definitions
name
Community name, e.g., CommListAIn, ranging from 0 to 70 characters, 
or a value of none. The Community name is case sensitive. 
none
Removes the community restrictions on the community section of the 
route map.
no-export
Routes in this community are advertised within the AS but not beyond 
the local AS.
no-advertise
Routes in this community are not advertised to any peer.
no-export-subconfed
Routes in this community are not advertised to any external BGP peer.
num:num
The community number, given in the form of the AS number and the 
community number, separated by a colon, as defined in RFC 1997.
Defaults
No IP BGP peer policy community-list exists.
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to remove a community-list.
• This command creates community lists that can be applied to a peer’s inbound and outbound routes 
using th
 and 
 commands. 
The community list filters routes based on one or more community match list strings, as shown in the 
example below. If the route matches the community list filter, according to the matching type exact or 
occur, then the permit or deny policy action associated with the match list string applies.
• General or more specific community list information can be displayed by varying the use of the 
 command.
Examples
-> ip bgp policy community-list CommListAIn 40:40
-> ip bgp policy community-list CommListAOut 400:20
-> ip bgp policy community-list none
-> no ip bgp policy community-list CommListAIn 400:20