3com 8807 참조 가이드

다운로드
페이지 1099
IP Routing Policy Configuration Commands
559
Parameter
interface-type: Specifies interface type.
interface-number: Specifies interface number.
Description
Use the if-match interface command to configure to match the route whose 
next hop is designated interface.
Use the undo if-match interface command to cancel the setting of matching 
condition.
By default, no if-match sub-statement is defined.
This command is an if-match sub-statement of route-policy, used to match the 
interface corresponding to the route next hop in route filtering.
Related commands: if-match aclif-match ip-prefixif-match ip next-hop
if-match costif-match tagroute-policyapply ip next-hopapply cost
apply local-preferenceapply originapply tag.
Example
# Define an if-match sub-statement to match the route whose next hop interface 
is Vlan-interface 1
[3Com-route-policy] if-match interface Vlan-interface 1 
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: Specifies the number of the access control list used for filtration. The 
range is 2000 to 2999.
ip-prefix-name: Specifies the name of the prefix address list used for filtration. Its 
length ranges from 1 to 19.
Description
Use the if-match ip next-hop command to configure one match rule on next 
hop address of routing information for the route-policy.
Use the undo if-match ip next-hop command to cancel the setting of ACL 
matching condition.
Use the undo if-match ip next-hop ip-prefix command to cancel the setting of 
address prefix list matching condition.
Filtration is performed by quoting an ACL or an address prefix list.