Route-Policy - 3Com 5500-EI PWR Reference Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

to", and the 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 denotes the prefix range [greater-equal, 32].
When only less-equal is used, it denotes the prefix range [len, less-equal]. When both greater-equal
and less-equal are specified, the prefix range is [ less-equal,greater-equal ].
Description
Use the ip ip-prefix command to configure an IP-prefix list or one of its entries.
Use the undo ip ip-prefix command to delete an IP-prefix list or one of its entries.
By default, no IP-prefix list is configured.
An IP-prefix list is used for IP address filtering. An IP prefix list may contain several entries, and each
entry specifies one address prefix range. The inter-entry filtering relation is OR. That is, passing an
entry means filtering through this address prefix list. Not filtering through any entry means not filtering
through this IP-prefix.
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 matches the default route only.
To match all the routes, use 0.0.0.0 0 less-equal 32.
Examples
# Define an ip-prefix named p1 to permit only the routes whose mask lengths are 17 or 18 on network
segment 10.0.192.0/8 to pass.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18

route-policy

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
Parameters
route-policy-name: Name of a routing policy, a string of 19 characters. This argument identifies a
routing policy uniquely.
permit: Specifies the match mode of the defined routing policy node as permit. When a route entry
meets all the if-match clauses of the node, the entry is permitted to filter through the node and the apply
clause of the node will be performed. If a route entry does not meet the if-match clause of the node, the
next node of the route-policy will be tested.
deny: Specifies the match mode of the defined Route-policy node as deny mode. When a route entry
meets all the if-match clauses of the node, the entry is prohibited from filtering through the node and the
next node will not be tested.
5-8

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents