Справочное Руководство для 3com S7906E

Скачать
Страница из 2327
 
1-22 
criteria of the node and the apply clauses define the actions to be taken on packets passing the node. 
The relation between the if-match clauses of a node is logic AND, namely, all the if-match clauses must 
be satisfied. The relation between different route policy nodes is logic OR, namely, a packet passing a 
node passes the route policy.  
Related commands: if-match interface,  if-match acl,  if-match ip-prefix,  if-match ip next-hop
if-match costif-match tagapply ip-address next-hopapply local-preferenceapply costapply 
originapply tag.  
Examples 
# Configure node 10 in permit mode of route policy policy1 and enter route policy view.  
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10 
[Sysname-route-policy] 
IPv4 Route Policy Configuration Commands 
apply ip-address next-hop 
Syntax 
apply ip-address next-hop ip-address 
undo apply ip-address next-hop 
View 
Route policy view 
Default Level 
2: System level 
Parameters 
ip-address: IP address of the next hop.  
Description 
Use the apply ip-address next-hop command to set a next hop for IPv4 routing information.  
Use the undo apply ip-address next-hop command to remove the clause configuration.  
No next hop is set for IPv4 routing information by default.  
This command cannot set a next hop for redistributed routes.  
Related commands: if-match interface,  if-match acl,  if-match ip-prefix,  if-match ip next-hop
if-match costif-match tagroute-policyapply local-preferenceapply costapply origin, apply 
tag
Examples 
# Configure node 10 in permit mode of route policy policy1 to set next hop 193.1.1.8 for routes 
matching AS-PATH list 1. 
<Sysname> system-view 
[Sysname] route-policy policy1 permit node 10 
[Sysname-route-policy] if-match as-path 1