3com S7906E Guide De Référence

Page de 2327
 
1-15 
Parameters 
cost: Cost in the range 0 to 4294967295.  
Description 
Use the if-match cost command to match routing information having the specified cost.  
Use the undo if-match cost command to remove the match criterion.  
The match criterion is not configured by default.  
Related commands: if-match interface,  if-match acl,  if-match ip-prefix,  if-match ip next-hop
if-match tagroute-policyapply ip-address next-hopapply cost, apply local-preferenceapply 
originapply tag.  
Examples 
# Configure node 10 in permit mode of route policy policy1: define an if-match clause to permit routing 
information with a cost of 8.  
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10 
[Sysname-route-policy] if-match cost 8 
if-match extcommunity 
Syntax 
if-match extcommunity ext-comm-list-number&<1-16> 
undo if-match extcommunity [ ext-comm-list-number&<1-16> ] 
View 
Route policy view 
Default Level 
2: System level 
Parameters 
ext-comm-list-number: Extended community list number, in the range of 1 to 199.  
&<1-16>: Indicates the argument before it can be entered up to 16 times. 
Description 
Use the if-match extcommunity command to specify extended community list(s) for matching against 
the extended community attribute of BGP routing information. 
Use the undo if-match extcommunity command to remove the match criterion.  
The match criterion is not configured by default.  
Examples 
# Configure node 10 in permit mode of route policy policy1 to match BGP routing information to 
extended community lists 100 and 150. 
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10