R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

506
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.
A 32-bit AS number—16-bit self-defined number, for example, 70000:3. The AS number must be
no less than 65536.
&<1-16>: Indicates that the argument before it can be entered up to 16 times.
Examples
# Define extended community list 1 to permit routing information with RT 200:200.
<Sysname> system-view
[Sysname] ip extcommunity-list 1 permit rt 200:200
# Define extended community list 2 to permit routing information with SoO 100:100.
<Sysname> system-view
[Sysname] ip extcommunity-list 2 permit soo 100:100
route-policy
Use route-policy to create a routing policy and a node for it, and enter routing policy view.
Use undo route-policy to remove a routing policy or a node for it.