3com S7906E Guide De Référence

Page de 2327
 
1-18 
Examples 
# Configure node 10 in permit mode of route policy policy1 to match OSPF internal routes. 
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10 
[Sysname-route-policy] if-match route-type internal 
if-match tag 
Syntax 
if-match tag value 
undo if-match tag 
View 
Route policy view 
Default Level 
2: System level 
Parameters 
value: Specifies a tag from 0 to 4294967295.  
Description 
Use the if-match tag command to match routing information having the specified tag.  
Use the undo if-match tag 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 costroute-policyapply ip-address next-hopapply costapply local-preferenceapply 
originapply tag.  
Examples 
# Configure node 10 in permit mode of route policy policy1 to permit RIP, OSPF and IS-IS routing 
information with a tag of 8.  
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10 
[Sysname-route-policy] if-match tag 8 
ip as-path 
Syntax 
ip as-path as-path-number { deny | permit } regular-expression 
undo ip as-path as-path-number 
View 
System view