R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
423
Ste
p
Command
Remarks
5. Match BGP routing information whose
AS path attribute is specified in the AS
path lists.
if-match as-path
AS-PATH-number&<1-16>
Optional.
Not configured by
default.
6. Match BGP routing information whose
community attribute is specified in the
community lists.
if-match community
{ basic-community-list-number
[ whole-match ] |
adv-community-list-number }&<1-16>
Optional.
Not configured by
default.
7. Match routes having the specified
cost.
if-match cost value
Optional.
Not configured by
default.
8. Match BGP routing information whose
extended community attribute is
specified in the extended community
lists.
if-match extcommunity
ext-comm-list-number&<1-16>
Optional.
Not configured by
default.
9. Match routing information having
specified outbound interfaces.
if-match interface { interface-type
interface-number }&<1-16>
Optional.
Not configured by
default.
10. Match routing information having
MPLS labels.
if-match mpls-label
Optional.
Not configured by
default.
11. Match routing information having the
specified route type.
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 } *
Optional.
Not configured by
default.
12. Match RIP, OSPF, and IS-IS routing
information having the specified tag
value
if-match tag value
Optional.
Not configured by
default.
Configuring apply clauses
Follow these guidelines when you configure apply clauses:
• The difference between IPv4 and IPv6 apply clauses is the command for setting the next hop for
routing information.
• The apply ip-address next-hop and apply ipv6 next-hop commands do not apply to redistributed
IPv4 and IPv6 routes.
To configure apply clauses for a routing policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter routing policy view.
route-policy route-policy-name
{ deny | permit } node node-number
Not created by default.