3com 4500 PWR 50-PORT Manual De Usuario
168
C
HAPTER
6: U
SING
R
OUTING
P
ROTOCOL
C
OMMANDS
if-match { acl | ip-prefix }
Syntax
if-match { acl
acl_number | ip-prefix ip_prefix_name }
undo if-match [ acl | ip-prefix ]
View
Route policy view
Parameter
acl_number
Enter the number of the access control list used for filtration
ip_prefix_name
Enter the prefix address list used for filtration
Description
Use the
if-match { acl | ip-prefix }
command to configure the IP address
range to match the Route-policy.
Use the
undo if-match { acl | ip-prefix }
command to cancel the setting of
the match rule.
Filtration is performed by quoting an ACL or a prefix address list.
Related command:
if-match interface
,
if-match ip next-hop
,
if-match
cost
,
route-policy
,
apply cost
.
Example
Define one
if-match
sub-statement. When the sub-statement is used for filtering
route information, the route information filtered by the route destination address
through address prefix list p1 can pass the
through address prefix list p1 can pass the
if-match
sub-statement.
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]route-policy permit node 1
% New sequence of this list
[4500-route-policy]if-match ip-prefix p1
if-match cost
Syntax
if-match cost
value
undo if-match cost
View
Route policy view
Parameter
value
Specify the required route metric value, ranging from 0 to 4294967295.
Description
Use the
if-match cost
command to configure one of the match rules of
route-policy to match the cost of the routing information.
Use the
undo if-match cost
command to cancel the configuration of the match
rule.