Route-Policy - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

rt route-target: Specifies the route target extended community attribute, which is a string of 3 to 21
characters. A 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
Default Level
2: System level
Parameters
route-policy-name: Route policy name, a string of 1 to 19 characters.
permit: Specifies the matching mode of the route policy node as permit. If a route satisfies all the
if-match clauses of the node, it passes the node and then is executed with the apply clauses of the node.
If not, it goes to the next node of the route policy.
deny: Specifies the matching mode of the route policy node as deny. If a route satisfies all the if-match
clauses of the node, it cannot pass the node and will not go to the next node.
node node-number: Node number, in the range 0 to 65535. A node with a smaller number is matched
first.
Description
Use the route-policy command to create a route policy and a node of it and enter route policy view.
Use the undo route-policy command to remove a route policy or a node of it.
No route policy is created by default.
A route policy is used for routing information filtering or policy based routing. It contains several nodes
and each node comprises a set of if-match and apply clauses. The if-match clauses define the matching
1-21

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents