560
C
28: IP R
P
C
C
HAPTER
OUTING
OLICY
ONFIGURATION
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 interface, if-match acl, if-match ip-prefix,
if-match cost, if-match tag, route-policy, apply ip next-hop, apply cost,
apply local-preference, apply origin, apply 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 interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, route-policy, apply ip next-hop, apply
cost, apply local-preference, apply origin, apply 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
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers