Defining apply clauses – H3C Technologies H3C SR8800 User Manual
Page 415

399
Step Command
Remarks
6.
Match BGP routing
information whose community
attribute is specified in the
community list(s).
if-match community
{ { basic-community-list-number |
comm-list-name } [ 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 list(s).
if-match extcommunity
ext-comm-list-number&<1-16>
Optional
Not configured by
default
9.
Match routing information
having specified outbound
interface(s).
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
NOTE:
•
The if-match clauses of a routing policy node are in logic AND relationship. Routing information has to
satisfy all its if-match clauses before being executed with its apply clauses. If an if-match command
exceeds the maximum length, multiple idendical if-match clauses are generated. These clauses are in
logical OR relationship. Routing information only needs to match one of them.
•
You can specify any number of if-match clauses for a routing policy node. If no if-match clause is
specified, and the routing 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.
•
If the ACL referenced by an if-match clause does not exist, the clause is always satisfied; if no rules of the
referenced ACL are matched or the matching rule is inactive, the clause is not satisfied.
•
An ACL specified in an if-match clause should be a non-VPN ACL.
•
The if-match commands for matching IPv4 destination, next hop and source address are different from
those for matching IPv6 ones.
•
BGP does not support criteria for matching against outbound interfaces of routing information.
Defining apply clauses
To define apply clauses for a routing policy:
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module