3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 6 IP Routing Policy Configuration Commands
6-10
Field
Description
if-match
(prefixlist) p1
if-match statement configured
apply cost 100
Apply routing cost 100 to the routes matching
the conditions defined by if-match statement
matched
Number of routes matching the conditions set by
if-match statement
denied
Number of routes not matching the conditions
set by if-match statement
6.1.12 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
: Number of the ACL used for filter
ip-prefix-name
: Name of the prefix address list used for filter, containing 1 to 19
characters.
Description
Use the
if-match
{
acl
|
ip-prefix
} command to configure a rule for the route-policy
and specify an matching IP address range.
Use the
undo if-match
{
acl
|
ip-prefix
} command to cancel the setting of the rule.
The
if-match
{
acl
|
ip-prefix
} command implements a filter by referencing an ACL or
a prefix address list.
Related command:
if-match interface
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip next-hop
,
apply cost
,
apply local-preference
,
apply origin
, and
apply tag
.
Example
# Define an if-match statement. When the statement is used for filtering route
information, the route information filtered by route destination address through
address prefix list p1 is permitted to pass the if-match statement.
<3Com> system-view
Содержание 7750 Series
Страница 520: ...3Com Switch 7750 Series Command Reference Guide Multicast Table of Contents iii 5 1 22 static rp 5 20 ...
Страница 808: ...3Com Switch 7750 Series Command Reference Guide ACL Chapter 1 ACL Commands 1 27 3Com time range test from 0 0 2000 1 1 ...
Страница 1177: ...3Com Switch 7750 Series Command Reference Guide Command Index Appendix A Command Indexx A 45 ...