Configuring Apply Clauses - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Step
9.
Match BGP routes having the
specified local preference.
10.
Match routes having the
specified route type.
11.
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.
4.
Delete the specified
COMMUNITY attribute for
BGP routes.
5.
Set the specified COMMUNITY
attribute for BGP routes.
6.
Set a cost for routes.
7.
Set a cost type for routes.
8.
Set the extended community
attribute for BGP routes.
Command
if-match local-preference preference
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 ]
apply comm-list
{ comm-list-number |
comm-list-name } delete
apply community { none |
additive |
{ community-number&<1-32> |
aa:nn&<1-32> | internet |
no-advertise | no-export |
no-export-subconfed } *
[ additive ] }
apply cost [ + | - ] value
apply cost-type { external |
internal | type-1 | type-2 }
apply extcommunity { rt
route-target }&<1-32>
[ additive ]
349
Remarks
By default, no local
preference is configured for
BGP routes.
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.
By default, no COMMUNITY
attribute is deleted for BGP routes.
By default, no community attribute is
set for BGP routes.
By default, no cost is set for routes.
By default, no cost type is set for
routes.
By default, no extended community
attribute is set for BGP routes.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents