Command Reference Guide
156 ● if-match ip-prefix 3Com Router 5000 Family and Router 6000 Family
Command Reference
if-match ip-prefix
Purpose Use the if-match ip-prefix command to configure one of the match rules of
route-policy on the IP address range of the routing information.
Use the undo if-match ip next-hop command to cancel the setting of match
condition.
Syntax if-match ip-prefix ip-prefix-name
undo if-match [ ip-prefix ip-prefix-name ]
Parameters ip-prefix-name
Specifies the name of the prefix address list used for
filtering.
Example Define an if-match sub-statement in which the IP address prefix list p1 is used in
routing information filtering.
[3Com -route-policy] if-match ip-prefix p1
View This command can be used in the following views:
■ Routing Policy view
Description The filtering is achieved through redistributing an IP address prefix name.
Related Commands ■ if-match acl
■ if-match interface
■ if-match ip next-hop
■ if-match cost
■ if-match tag
■ route-policy
■ apply ip-address
■ apply cost
■ apply local-preference
■ apply origin
■ apply tag