Command Reference Guide
152 ● if-match cost 3Com Router 5000 Family and Router 6000 Family
Command Reference
if-match cost
Purpose Use the if-match cost command to configure one of the matching 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
matching rule.
Syntax if-match cost value
undo if-match cost
Parameters value
Specifies the required route cost value, ranging from 0
to 4294967295.
Default By default, no if-match clause is defined.
Example Define an if-match clause, which allows the routing information with routing cost 8
to pass this if-match clause.
[3Com -route-policy] if-match cost 8
View This command can be used in the following views:
■ Routing Policy view
Description This if-match clause of route-policy is used to specify the route cost value of the
matched routing information.
Related Commands ■ if-match interface
■ if-match acl
■ if-match ip-prefix
■ if-match ip next-hop
■ if-match tag
■ route-policy
■ apply ip-address
■ apply local-preference
■ apply cost
■ apply origin
■ apply tag