H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples
Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 Routing Overview
1-40
V. Define if-match Clauses
Table 1-93 Define if-match clauses
Operation Command Description
Enter system view
system-view
—
Enter the route-policy
view
route-policy
route-policy-name
{ permit | deny } node
node-number
Required
Define a rule to match AS
path of BGP routing
information
if-match as-path
as-path-number
Optional
Define a rule to match
community attributes of
BGP routing information
if-match community
{ basic-community-numbe
r [ whole-match ] |
adv-community-number }
Optional
Define a rule to match the
IP address of routing
information
if-match { acl acl-number
| ip-prefix
ip-prefix-name }
Optional
By default, no matching is
performed on the address
of routing information.
Define a rule to match the
routing cost of routing
information
if-match cost value
Optional
By default, no matching is
performed on the routing
cost of routing
information.
Define a rule to match the
next-hop interface of
routing information
if-match interface
interface-type
interface-number
Optional
By default, no matching is
performed on the
next-hop interface of
routing information.
Define a rule to match the
next-hop address of
routing information
if-match ip next-hop
{ acl acl-number |
ip-prefix ip-prefix-name }
Optional
By default, no matching is
performed on the
next-hop address of
routing information.
Define a rule to match the
tag field of OSPF routing
information
if-match tag value
Optional
By default, no matching is
performed on the tag field
of OSPF routing
information.