H3C S6550X-HI Series Command Reference Manual page 2082

Table of Contents

Advertisement

regular-expression
of 1 to 63 characters. For more information about regular expressions, see Layer 3—IP Routing
Configuration Guide.
: Specifies the match mode for the community list as deny.
deny
: Specifies the match mode for the community list as permit.
permit
community-number&<1-32>
4294967295.
numbers.
aa:nn&<1-32>
indicates that you can specify a maximum of 32 community numbers.
&<1-32>
: Specifies the INTERNET community attribute. Routes with this attribute can be
internet
advertised to all BGP peers. By default, all routes have this attribute.
no-advertise
cannot be advertised to other BGP peers.
no-export
advertised out of the local AS or the local confederation but can be advertised to other ASs in the
confederation.
no-export-subconfed
Routes with this attribute cannot be advertised out of the local AS, or to other sub-ASs in the local
confederation.
Examples
# Configure basic community list 1 to permit routes with the INTERNET community attribute.
<Sysname> system-view
[Sysname] ip community-list 1 permit internet
# Configure advanced community list 100 to permit routes with the COMMUNITY attribute starting
with 10.
<Sysname> system-view
[Sysname] ip community-list 100 permit ^10
Related commands
apply comm-list delete
apply community
display ip community-list
if-match community
ip extcommunity-list
Use
ip extcommunity-list
Use
undo ip extcommunity-list
Syntax
ip extcommunity-list { ext-comm-list-number | ext-comm-list-name } { deny
| permit } { bandwidth link-bandwidth-value | rt route-target | soo
site-of-origin }&<1-32>
undo ip extcommunity-list { ext-comm-list-number | ext-comm-list-name }
[ { deny | permit } [ bandwidth link-bandwidth-value | rt route-target | soo
site-of-origin ]&<1-32> ]
: Specifies a regular expression for the advanced community list, a string
: Specifies a community sequence number in the range of 1 to
indicates that you can specify a maximum of 32 community sequence
&<1-32>
: Specifies a community number. Both
: Specifies the NO_ADVERTISE community attribute. Routes with this attribute
: Specifies the NO_EXPORT community attribute. Routes with this attribute cannot be
: Specifies the NO_EXPORT_SUBCONFED community attribute.
to configure an extended community list.
and
aa
to remove an extended community list.
30
are in the range of 0 to 65535.
nn

Advertisement

Table of Contents
loading

Table of Contents