3Com 3031 Command Reference Manual page 680

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

680
C
6: R
P
HAPTER
OUTING
route-policy
ROTOCOL
meaning of less-equal is "less than or equal to". The range is len <=
greater-equal <= less-equal <= 32. When only greater-equal is used, it indicates
the prefix range [greater-equal, 32]. When only less-equal is used, it indicates
the prefix range [len, less-equal].
Description
Using the ip ip-prefix command, you can configure an address prefix list or one of
its items. Using the undo ip ip-prefix command, you can delete an address prefix
list or one of its items.
The address prefix list is used for IP address filtering. An address prefix list may
contain several items, and each item specifies one address prefix range. The
inter-item filtering relation is "OR", i.e. passing an item means passing the filtering
of this address prefix list. Not passing the filtering of all items means not passing
the filtering of this prefix address list.
The address prefix range may contain two parts, which are determined by len and
[greater-equal, less-equal] respectively. If the prefix ranges of these two parts are
both specified, the IP to be filtered must match the prefix ranges of these two
parts.
If you specify network len as 0.0.0.0 0, it only matches the default route.
Specify network len as 0.0.0.0 0 less-equal 32 to match all the routes.
Example
Configure an address prefix list named p1. It permits the routes with the mask of
17 or 18 bits long and in network segment 10.0.192.0.8 to pass.
[3Com] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17
less-equal 18
Syntax
route-policy route-policy-name { permit | deny } node { node-number }
undo route-policy route-policy-name [ permit | deny | node node-number ]
View
System view
Parameter
route-policy-name: Specifies the route-policy name to identify one route-policy
uniquely.
permit: Specifies the match mode of the defined route-policy node as permit
mode. If a route matches all the if-match clauses, it is permitted to pass the
filtering and execute the apply clauses of this node. If not, it will take the test
of next node of this route-policy.
deny: Specifies the match mode of the defined route-policy node as deny
mode. When a route matches all the if-match clauses of this node, it will be
refused to pass the filtering and will not take the next test.
node: Node of the route policy.
node-number: Index of the node in the route-policy. When this route-policy is
used for routing information filtering, the node with smaller node-number will
be tested first.

Advertisement

Table of Contents
loading

Table of Contents