Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 6 Routing Policy Configuration Commands
6-21
Description
Use the
ip community-list
to define a community list entry.
Use the
undo ip community-list
command to remove a community list or entry.
No community list is defined by default.
Examples
# Define basic community list 1 to permit routing information with the
internet
community attribute.
<Sysname> system-view
[Sysname] ip community-list 1 permit internet
# Define 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
6.1.26 ip extcommunity-list
Syntax
ip extcommunity-list
ext-comm-list-number
{
deny
|
permit
} {
rt
route-target
}&<1-16>
undo ip extcommunity-list
ext-comm-list-number
View
System view
Parameters
ext-comm-list-number
: Extended community list number, in the range 1 to 199.
permit
: Specifies the matching mode for the extended community list as permit.
deny
: Specifies the matching mode for the extended community list as deny.
rt route-target
: Specifies route target extended community attribute, which is a string of
3 to 21 characters.
route-target
has two 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.
&<1-16>
: Indicates the argument before it can be entered up to 16 times.
Description
Use the
ip extcommunity-list
to define an extended community list entry.
Use the
undo ip extcommunity-list
command to remove an extended community list.