3com 4500 26-PORT Manual De Usuario

Descargar
Página de 466
170
C
HAPTER
 6: U
SING
 R
OUTING
 P
ROTOCOL
 C
OMMANDS
if-match ip next-hop
Syntax
if-match ip next-hop { acl 
acl_number | ip-prefix ip_prefix_name }
undo if-match ip next-hop [ ip-prefix ]
View
Route policy view
Parameter
acl_number
 Enter the number of the access control list used for filtration. The 
range is 1 to 99. 
ip_prefix_name
 Enter the name of the prefix address list used for filtration. 
Description
Use the 
if-match ip next-hop
 command to configure one of the match rules of 
route-policy on the next hop address of the routing information. 
Use the 
undo if-match ip next-hop
 command to cancel the setting of the ACL 
matching condition.  Use the 
undo if-match ip next-hop ip-prefix 
command to cancel the setting of the address prefix list matching condition.
Filtration is performed by quoting an ACL or a address prefix list.
Related commands:
 if-match interface
if-match acl
if-match ip-prefix
if-match cost
route-policy
apply cost.
Example
Define a match sub-statement. It permits the routing information, whose route 
next hop address passes the filtration of the prefix address list p1, to pass this 
match sub-statement. 
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]route-policy permit node 1
% New sequence of this list
[4500-route-policy]if-match ip next-hop ip-prefix p1
ip ip-prefix
Syntax
ip ip-prefix 
ip_prefix_name [ index index_number ] { permit | deny } 
network len [ greater-equal greater_equal | less-equal less_equal ] 
undo ip ip-prefix 
ip_prefix_name [ index index_number | permit | deny 
]
View
System view
Parameter
ip_prefix_name 
Enter the specified address prefix list name. It identifies one 
address prefix list uniquely.