Configuring Apply Clauses - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

Step
8.
Match routes having the
specified output interface.
9.
Match BGP routes having the
specified local preference.
10. Match MAC addresses in EVI
IS-IS packets.
11. Match routes having MPLS
labels.
12. Match routes having the
specified route type.
13. Match IGP routes having the
specified tag value.
14. Match VLANs in EVI IS-IS
packets.

Configuring apply clauses

Except for the apply commands used for setting the next hop for IPv4 and IPv6 routes, all apply
commands are the same for IPv4 and IPv6 routing.
To configure apply clauses:
Step
1.
Enter system view.
2.
Enter routing policy node
view.
3.
Set the AS_PATH attribute for
BGP routes.
4.
Delete the specified
COMMUNITY attribute for
BGP routes.
Command
if-match interface { interface-type
interface-number }&<1-16>
if-match local-preference
preference
if-match mac-list mac-list-name
if-match mpls-label
if-match route-type
{ external-type1 |
external-type1or2 | external-type2
| internal | is-is-level-1 |
is-is-level-2 | nssa-external-type1 |
nssa-external-type1or2 |
nssa-external-type2 } *
if-match tag tag-value
if-match vlan vlan-list
Command
system-view
route-policy
route-policy-name { deny |
permit } node node-number
apply as-path
as-number&<1-32> [ replace ]
apply comm-list
{ comm-list-number |
comm-list-name } delete
507
Remarks
By default, no output
interface match criterion is
configured.
This command is not
supported by BGP.
By default, no local
preference is configured for
BGP routes.
By default, no MAC list
match criterion is configured.
The MAC list match criterion
applies only to EVI IS-IS. For
information about EVI IS-IS,
see EVI Configuration Guide.
By default, no MPLS label
match criterion is configured.
By default, no route type
match criterion is configured.
By default, no tag match
criterion is configured.
By default, no VLAN match
criterion is configured.
The VLAN match criterion
applies only to EVI IS-IS. For
information about EVI IS-IS,
see EVI Configuration Guide.
Remarks
N/A
N/A
By default, no AS_PATH attribute is
set for BGP routes.
By default, no COMMUNITY
attribute is deleted for BGP routes.

Advertisement

Table of Contents
loading

Table of Contents