H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration
6-8
To do… Use the command… Remarks
Match routes having AS path
attributes specified in the AS path list
(s)
if-match as-path
as-path-number&<1-16>
Optional
Not configured
by default
Match routes having community
attributes in the specified community
list(s)
if-match community
{ basic-community-list-n
umber [ whole-match ] |
adv-community-list-num
ber }&<1-16>
Optional
Not configured
by default
Match routes having the specified cost
if-match cost value
Optional
Not configured
by default
Match BGP routes having extended
attributes contained in the extended
community list(s)
if-match extcommunity
ext-comm-list-number&<
1-16>
Optional
Not configured
by default
Match routes having specified
outbound interface(s)
if-match interface
{ interface-type
interface-number }&<1-1
6>
Optional
Not configured
by default
Match routes 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, or IS-IS routes
having the specified tag value
if-match tag value
Optional
Not configured
by default
Note:
z The if-match clauses of a route-policy are in logic AND relationship, namely, routing
information has to satisfy all if-match clauses before being executed with apply
clauses.
z You can specify no or multiple if-match clauses for a routing policy. If no if-match
clause is specified, and the routing policy is in permit mode, all routing information
can pass the node; if in deny mode, no routing information can pass.