Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-13
6.1.17 if-match cost
Syntax
if-match cost value
undo if-match cost
View
Routing policy view
Parameter
value: Specifies the required route cost value, ranging from 0 to 4294967295.
Description
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.
By default, no if-match clause is defined.
This if-match clause of route-policy is used to specify the route cost value of the
matched routing information.
Related command: 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, and apply tag.
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
6.1.18 if-match interface
Syntax
if-match interface interface-type interface-number
undo if-match interface
View
Routing policy view
Parameter
interface-type: Specifies the type of the interface.
interface-number: Specifies the number of the interface.










