Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
BGP Commands
page 44-108
OmniSwitch CLI Reference Guide
September 2009
ip bgp policy community-list match-type
Configures the type of matching to be performed with a community string list.
ip bgp policy community-list name {none | no-export | no-advertise | no-export-subconfed | num:num}
match-type {exact | occur}
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.
exact
Checks for an exact match of the community string and the community 
attribute.
occur
Checks for an occurrence of the community string anywhere in the 
community attribute.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
By default, this command only allows routes to pass if the community string exactly matches the commu-
nity attribute of the route.
Examples
-> ip bgp policy community-list commListC 600:1 match-type exact
Release History
Release 6.1; command was introduced.
parameter
default
exact | occur
exact