Справочное Руководство для 3com 8807
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.
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.
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.
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.
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.
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.
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