3com 5500-ei pwr Guia De Referência
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
5-5
View
Route policy view
Parameters
value
: Route cost, in the range of 0 to 4294967295.
Description
Use the if-match cost command to configure a cost matching rule for routing information.
Use the undo if-match cost command to remove the configuration.
By default, no cost matching rule is defined.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match tag
, route-policy, apply cost, apply tag.
Examples
# Define an if-match clause to match routes with the cost of 8.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] route-policy policy permit node 1
%New sequence of this list
[Sysname-route-policy] if-match cost 8
if-match interface
Syntax
if-match interface interface-type interface-number
undo if-match interface
View
Route policy view
Parameters
interface-type interface-number
: Specifies the interface type and interface number.
Description
Use the if-match interface command to match routes having the specified outgoing interface.
Use the undo if-match interface command to remove the match rule.
By default, no such a matching rule is configured.
This command matches routes having next hops pass through the specified interface.
Related commands: if-match acl, if-match ip-prefix, if-match ip next-hop, if-match cost, if-match
tag
, route-policy, apply cost, apply tag.
Examples
# Define an if-match clause to match routes with the outbound interface VLAN-interface 1.
<Sysname> system-view