Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
BGP Commands
page 44-106
OmniSwitch CLI Reference Guide
September 2009
ip bgp policy community-list action
Configures the action to be taken for a community list when a match is found.
ip bgp policy community-list name {none | no-export | no-advertise | no-export-subconfed | num:num}
action {permit | deny}
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.
permit
Allows matching routes to pass.
deny
Stops matching routes from passing.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
By default, this command allows routes that match the criteria specified in the community list to pass.
Examples
-> ip bgp policy community-list commListAIn 600:1 action permit
-> ip bgp policy community-list commListAIn 600:1 action deny
Release History
Release 6.1; command was introduced.
parameter
default
permit | deny
permit