1-7
To do…
Use the command…
Remarks
Match IPv6 routing information whose
next hop or source is specified in the ACL
or IP prefix list
if-match ipv6
{
address
|
next-hop
|
route-source
} {
acl
acl-number |
prefix-list
ipv6-prefix-name
}
Optional
Not configured by
default.
Match BGP routing information whose AS
path attribute is specified in the AS path
list (s)
if-match as-path
AS-PATH-number
&<1-16>
Optional
Not configured by
default.
Match BGP routing information whose
community attribute is specified in the
community list(s)
if-match community
{
basic-community-list-number
[
whole-match
] |
adv-community-list-number
}&<1-
16>
Optional
Not configured by
default.
Match routes having the specified cost
if-match cost value
Optional
Not configured by
default.
Match BGP routing information whose
extended community attribute is specified
in the extended community list(s)
if-match extcommunity
ext-comm-list-number
&<1-16>
Optional
Not configured by
default.
Match routing information having specified
outbound interface(s)
if-match interface
{
interface-type
interface-number
}&<1-16>
Optional
Not configured by
default.
Match routing information having the
specified route type
if-match route-type
{
internal
|
external
-
type1
|
external-type2
|
external-type1or2
|
is-is-level-1
|
is-is-level-2
|
nssa-external-type1
|
nssa-external-type2
|
nssa-external-type1or2
} *
Optional
Not configured by
default.
Match RIP, OSPF, and IS-IS routing
information having the specified tag value
if-match tag value
Optional
Not configured by
default.
z
The
if-match
clauses of a route policy node are in logic AND relationship, namely, routing
information has to satisfy all its
if-match
clauses before being executed with its
apply
clauses.
z
You can specify no or multiple
if-match
clauses for a route policy node. If no
if-match
clause is
specified, and the route policy node is in
permit
mode, all routing information can pass the node. If
it is in
deny
mode, no routing information can pass it.
z
An ACL specified in an
if-match
clause should be a non-VPN ACL.
z
The
if-match
commands for matching IPv4 destination, next hop and source address are different
from those for matching IPv6 ones.
Defining apply Clauses
Follow these steps to define
apply
clauses for a route policy: