3com 5500-ei pwr Guia De Referência

Página de 1314
 
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 costapply 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-prefixif-match ip next-hopif-match costif-match 
tag
route-policyapply costapply tag
Examples 
# Define an if-match clause to match routes with the outbound interface VLAN-interface 1. 
<Sysname> system-view