Configuring Apply Clauses - HP VSR1000 Configuration Manual

Virtual services router
Table of Contents

Advertisement

Step
5.
Match BGP routes whose
COMMUNITY attribute matches
a specified community list.
6.
Match routes having the
specified cost.
7.
Match BGP routes whose
extended community attribute
matches a specified extended
community list.
Match routes having the
8.
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 RIP, OSPF, and IS-IS
routes having the specified tag
value.

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.
Command
if-match community
{ { basic-community-list-number |
name comm-list-name }
[ whole-match ] |
adv-community-list-number }&<1-32>
if-match cost value
if-match extcommunity
ext-comm-list-number&<1-32>
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 value
Command
system-view
route-policy route-policy-name
{ deny | permit } node
node-number
apply as-path
as-number&<1-32> [ replace ]
439
Remarks
By default, no COMMUNITY
match criterion is matched.
By default, no cost match
criterion is configured.
By default, no extended
community list match criterion
is configured.
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.
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.
Remarks
N/A
N/A
By default, no AS_PATH attribute is
set for BGP routes.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents