Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
BGP Commands
page 44-126
OmniSwitch CLI Reference Guide
September 2009
ip bgp policy route-map community
Configures the action to be taken on the community attribute when a match is found.
ip bgp policy route-map name sequence_number community [none | no-export | no-advertise | 
no-export-subconfed | 
num:num]
Syntax Definitions
name
The route map name.
sequence_number
The route map sequence number. The valid range is 1–255.
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
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• By default, no action is taken on a community attribute when a match on a route is found. 
• The default behavior can be reset by setting the value to “none”. 
• The 
 and 
 commands are used to 
create and set permit/deny actions for a community path list. This command is used in conjunction with 
Examples
-> ip bgp policy route-map routemap1 1 community 400:1 500:1
-> ip bgp policy route-map routemap1 1 community 400:1 500:1 community-mode replace
Release History
Release 6.1; command was introduced.
parameter
default
string
none