EasyManuals Logo
Home>HP>Switch>HPE FlexNetwork 7500 series

HP HPE FlexNetwork 7500 series User Manual

HP HPE FlexNetwork 7500 series
592 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #518 background imageLoading...
Page #518 background image
506
Configuring if-match clauses
You can either specify no if-match clauses or multiple if-match clauses for a routing policy node. If
no if-match clause is specified for a permit node, all routes can pass the node. If no if-match clause
is specified for a deny node, no routes can pass the node.
The if-match clauses of a routing policy node have a logical AND relationship. A route must meet all
if-match clauses before it can be executed by the apply clauses of the node. If an if-match
command exceeds the maximum length, multiple if-match clauses of the same type are generated.
These clauses have a logical OR relationship. A route only needs to meet one of them.
To configure if-match clauses:
Step
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter routing policy node view.
route-policy
route-policy-name
{
deny
|
permit
}
node
node-number
N/A
3. Match routes whose
destination, next hop, or source
address matches an ACL or
prefix list.
• Match IPv4 routes whose
destination, next hop, or source
address matches an ACL or
IPv4 prefix list:
if-match ip { address |
next-hop | route-source } { acl
ipv4-acl-number | prefix-list
prefix-list-name }
• Match IPv6 routes whose
destination, next hop, or source
address matches an ACL or
IPv6 prefix list:
if-match ipv6 { address |
next-hop | route-source } { acl
ipv6-acl-number | prefix-list
prefix-list-name }
By default, no ACL or prefix
list match criterion is
configured.
If the ACL used by an
if-match
clause does not
exist, the clause is always
matched. If no rules of the
specified ACL are matched
or the match rules are
inactive, the clause is not
matched.
The ACL specified in an
if-match
clause must be a
non-VPN ACL.
All IPv6 routes match a node
if the
if-match
clauses of the
node use only IPv4 ACLs.
All IPv4 routes match a node
if the
if-match
clauses of the
node use only IPv6 ACLs.
4. Match BGP routes whose
AS_PATH attribute matches a
specified AS path list.
if-match as-path
as-path-number&<1-32>
By default, no AS path match
criterion is configured.
5. Match BGP routes whose
COMMUNITY attribute
matches a specified
community list.
if-match community
{ { basic-community-list-number |
name
comm-list-name }
[
whole-match
] |
adv-community-list-number }&<1-32
>
By default, no COMMUNITY
match criterion is matched.
6. Match routes having the
specified cost.
if-match cost
cost-value
By default, no cost match
criterion is configured.
7. Match BGP routes whose
extended community attribute
matches a specified extended
community list.
if-match extcommunity
ext-comm-list-number&<1-32>
By default, no extended
community list match
criterion is configured.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HPE FlexNetwork 7500 series and is the answer not in the manual?

HP HPE FlexNetwork 7500 series Specifications

General IconGeneral
BrandHP
ModelHPE FlexNetwork 7500 series
CategorySwitch
LanguageEnglish

Related product manuals