3com 8807 Reference Guide

Page of 1099
560
C
HAPTER
 28: IP R
OUTING
 P
OLICY
 C
ONFIGURATION
 C
OMMANDS
By default, no if-match sub-statement is defined.
This command is an if-match sub-statement of route-policy used to filter the 
routing information based on next hop address by referencing an ACL or an 
address prefix list.
Related command: if-match interfaceif-match aclif-match ip-prefix
if-match costif-match tagroute-policyapply ip next-hopapply cost
apply local-preferenceapply originapply tag.
Example
# Define an if-match sub-statement, allowing the routing information whose 
route next hop address passes the filtration of the prefix address list p1 to pass this 
if-match sub-statement.
[3Com-route-policy] if-match ip next-hop ip-prefix p1 
if-match tag
Syntax
if-match tag value
undo if-match tag
View
Route policy view
Parameter
value: Specifies the value in tag field of OSPF route information.
Description
Use the if-match tag command to configure to match the tag field of OSPF route 
information.
Use the undo if-match tag command to cancel the existing matching rules.
Related command: if-match interfaceif-match aclif-match ip-prefix
if-match ip next-hopif-match costroute-policyapply ip next-hopapply 
cost
apply local-preferenceapply originapply tag.
Example
# Define an if-match sub-statement, allowing the OSPF routing information whose 
tag is 8 to pass the if-match sub-statement.
[3Com-route-policy] if-match tag 8 
ip as-path-acl
Syntax
ip as-path-acl acl-number { permit | deny } as-regular-expression
undo ip as-path-acl acl-number
View
System view