3com 8807 참조 가이드
556
C
HAPTER
28: IP R
OUTING
P
OLICY
C
ONFIGURATION
C
OMMANDS
Related command: filter-policy export.
Example
# Define the filtering rule for receiving routing information of RIP. Only the routing
information filtered through the address prefix list p1 can be received by RIP.
information filtered through the address prefix list p1 can be received by RIP.
[3Com-rip] filter-policy ip-prefix p1 import
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: Specifies the number of the access control list used for filtration.
ip-prefix-name: Specifies the name of the prefix address list used for filtration.
Description
Use the if-match { acl | ip-prefix } command to specify one matching rule for the
route-policy and configure the IP address range to match the Route-policy.
route-policy and 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.
match rule.
Filtration is performed by quoting an ACL or a prefix address list.
Related commands: 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, apply tag.
if-match tag, route-policy, apply ip next-hop, apply cost, apply
local-preference, apply origin, apply tag.
Example
# Define an if-match sub-statement. When the sub-statement is used for filtering
route information, the route information filtered by route destination address
through address prefix list p1 can pass the if-match sub-statement.
route information, the route information filtered by route destination address
through address prefix list p1 can pass the if-match sub-statement.
[3Com-route-policy] if-match ip-prefix p1
if-match as-path
Syntax
if-match as-path acl-number
undo if-match as-path
View
Route policy view
Parameter
acl-number: AS path list number, ranging from 1 to 199.