R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
509
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.
Syntax
route-policy route-policy-name { deny | permit } node node-number
undo route-policy route-policy-name [ deny | permit ] [ node node-number ]
Default
No routing policy is created.
Views
System view
Default command level
2: System level
Parameters
route-policy-name: Specifies a name for the routing policy, a case-sensitive string of 1 to 63 characters.
deny: Specifies the deny match mode for the routing policy node. If a route matches all the if-match
clauses of the node, it is denied without matching against the next node.










