3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1205
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.
No extended community list is defined by default.
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
route-policy
Syntax route-policy route-policy-name { permit | deny } node node-number
undo route-policy route-policy-name [ node node-number ]
View System view
Parameters route-policy-name: Routing policy name, a string of 1 to 19 characters.
permit: Specifies the matching mode of the routing policy node as permit. If a
route satisfies all the if-match clauses of the node, it passes through the filtering of
the node and then is executed with the apply clauses of the node. If not, it goes to
the next node of the routing policy.