R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
508
Parameters
basic-comm-list-num: Specifies a number for the basic community list, in the range of 1 to 99.
adv-comm-list-num: Advanced community list number in the range of 100 to 199.
regular-expression: Specifies a regular expression for the advanced community list, a string of 1 to 50
characters. For more information about regular expressions, see Fundamentals Configuration Guide.
deny: Specifies the match mode for the community list as deny.
permit: Specifies the match mode for the community list as permit.
community-number-list: Specifies a list of community numbers in the community number or aa:nn format;
a community number is in the range of 1 to 4294967295; aa and nn are in the range of 0 to 65535. Up
to 16 community numbers can be entered.
internet: Specifies the internet community attribute. Routes with this attribute can be advertised to all BGP
peers. By default, all routes have this attribute.
no-advertise: Specifies the no-advertise community attribute. Routes with this attribute cannot be
advertised to other BGP peers.
no-export: Specifies the no-export community attribute. Routes with this attribute cannot be advertised
out of the local AS, or the local confederation but can be advertised to other ASs in the confederation.
no-export-subconfed: Specifies the no-export-subconfed community attribute. Routes with this attribute
cannot be advertised out of the local AS, or to other sub ASs in the confederation.
Examples
# Configure basic community list 1 to permit routing information with the internet community attribute.
<Sysname> system-view
[Sysname] ip community-list 1 permit internet
# Configure advanced community list 100 to permit routing information with the community attribute
starting with 10.
<Sysname> system-view
[Sysname] ip community-list 100 permit ^10
ip extcommunity-list
Use ip extcommunity-list to define an extended community list entry.
Use undo ip extcommunity-list to remove an extended community list.
Syntax
ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target | soo site-of-origin }&<1-16>
undo ip extcommunity-list ext-comm-list-number
Default
No extended community list is defined.
Views
System view
Default command level
2: System level










