H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration
6-7
To do... Use the command... Remarks
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-16
>
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 the 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.
6.3.4 Defining apply Clauses for the Routing Policy
Follow these steps to define apply clauses for a route-policy:
To do... Use the command... Remarks
Enter system view
system-view
—
Create a routing policy
and enter its view
route-policy
route-policy-name
{ permit | deny } node
node-number
Required
Not created by default