Defining If-Match Clauses - HP 3600 v2 series Configuration Manual

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

To do...
Enter system view
Create a routing policy, specify a
node for it, and enter routing policy
view
NOTE:
If a routing policy node has the permit keyword specified, routing information matching all the if-match
clauses of the node will be handled using the apply clauses of this node, without needing to match
against the next node. If routing information does not match the node, it goes to the next node for a
match.
If a routing policy node has the deny keyword specified, the apply clauses of the node is not executed.
When routing information matches all the if-match clauses of the node, it cannot pass the node, or go
to the next node. If route information cannot match all the if-match clauses of the node, it goes to the
next node for a match.
When a routing policy has more than one node, at least one node must be configured with the permit
keyword. If the routing policy is used to filter routing information, routing information that does not meet
any node cannot pass the routing policy. If all nodes of the routing policy are set with the deny keyword,
no routing information can pass it.

Defining if-match clauses

Follow these steps to define if-match clauses for a routing policy:
To do...
Enter system view
Enter routing policy view
Define match criteria
for IPv4 routes
Match IPv6 routing information whose next hop
or source is specified in the ACL or IP prefix list
Match BGP routing information whose AS path
attribute is specified in the AS path lists
Use the command...
system-view
route-policy route-policy-name { deny | permit }
node node-number
Use the command...
system-view
route-policy route-policy-name { deny
| permit } node node-number
Match IPv4 routing
information specified
if-match acl acl-number
in the ACL
Match IPv4 routing
information specified
if-match ip-prefix ip-prefix-name
in the IP prefix list
Match IPv4 routing
information whose
if-match ip { next-hop |
next hop or source is
route-source } { acl acl-number |
specified in the ACL
ip-prefix ip-prefix-name }
or IP prefix list
if-match ipv6 { address | next-hop |
route-source } { acl acl-number |
prefix-list ipv6-prefix-name }
if-match as-path
AS-PATH-number&<1-16>
366
Remarks
Required
Remarks
Required
Optional
Not configured by
default.
Optional
Not configured by
default.
Optional
Not configured by
default.
Optional
Not configured by
default.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents