
401
Step Command
Remarks
5.
Match BGP routes whose
COMMUNITY attribute matches
a specified community list.
if-match community
{
{
basic-community-list-number
|
name
comm-list-name
}
[
whole-match
] |
adv-community-list-number
}&<1-32>
By default, no COMMUNITY
match criterion is matched.
6.
Match routes having the
specified cost.
if-match cost
value
By default, no cost match
criterion is configured.
7.
Match BGP routes whose
extended community attribute
matches a specified extended
community list.
if-match extcommunity
ext-comm-list-number
&<1-32>
By default, no extended
community list match criterion
is configured.
8.
Match routes having the
specified output interface.
if-match interface
{
interface-type
interface-number
}&<1-16>
By default, no output interface
match criterion is configured.
This command is not
supported by BGP.
9.
Match BGP routes having the
specified local preference.
if-match local-preference
preference
By default, no local
preference is configured for
BGP routes.
10.
Match EVI IS-IS routes whose
destination MAC address
matches a specified MAC list.
if-match mac-list
mac-list-name
By default, no MAC list match
criterion is configured.
11.
Match routes having MPLS
labels.
if-match mpls-label
By default, no MPLS label
match criterion is configured.
12.
Match routes 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
} *
By default, no route type
match criterion is configured.
13.
Match RIP, OSPF, and IS-IS
routes having the specified tag
value.
if-match tag
value
By default, no tag match
criterion is configured.
14.
Match EVI IS-IS routes whose
VLAN ID falls into the specified
VLAN ID range.
if-match vlan
{
vlan-id1
[
to
vlan-id2
]
}&<1-16>
By default, no VLAN match
criterion is configured.
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 Command
Remarks
1.
Enter system view.
system-view
N/A