F3215-HP Load Balancing Module Network Management Command Reference-6PW101
560
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
Parameters
ext-comm-list-number: Specifies an extended community list by its number, in the range of 1 to 199.
deny: Specifies the match mode for the extended community list as deny.
permit: Specifies the match mode for the extended community list as permit.
rt route-target: Specifies the RT extended community attribute, a string of 3 to 21 characters.
soo site-of-origin: Sets the SOO extended community attribute, a string of 3 to 21 characters.
A route-target or site-of-origin has three forms:
• A 16-bit AS number—a 32-bit self-defined number, for example, 101:3;
• A 32-bit IP address—a 16-bit self-defined number, for example, 192.168.122.15:1.