3com 8807 사용자 가이드
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
396
C
HAPTER
34: IP R
OUTING
P
OLICY
C
ONFIGURATION
n
For the details about the if-match mpls-label and if-match vpn-target
commands, refer to the 08-MPLS command module in the 3Com Switch 8800
Family Series Routing Switches Command Manual.
commands, refer to the 08-MPLS command module in the 3Com Switch 8800
Family Series Routing Switches Command Manual.
By default, no matching will be performed.
Note the following:
The if-match clauses for a node in the route-policy have the relationship of
"AND" for matching. That is, the route must satisfy all the clauses to match the
node before the actions specified by the apply clauses can be executed.
"AND" for matching. That is, the route must satisfy all the clauses to match the
node before the actions specified by the apply clauses can be executed.
If no if-match clauses are specified, all the routes will pass the filtering on the
node.
node.
Table 394 Define if-match conditions
Operation
Command
Match the AS path domain of
the BGP routing information
the BGP routing information
if-match as-path acl-number
Disable matching the AS path
domain of the BGP routing
information
domain of the BGP routing
information
undo if-match as-path
Match the community attribute
of the BGP routing information
of the BGP routing information
if-match community { basic-community-number [
whole-match ] | adv-community-number }
whole-match ] | adv-community-number }
Disable matching the
community attribute of the BGP
routing information
community attribute of the BGP
routing information
undo if-match community
Match the destination address
of the routing information
of the routing information
if-match { acl acl-number | ip-prefix ip-prefix-name }
Disable matching the
destination address of the
routing information
destination address of the
routing information
undo if-match { acl | ip-prefix }
Match the next-hop interface of
the routing information
the routing information
if-match interface interface-type interface-number
Disable matching the next-hop
interface of the routing
information
interface of the routing
information
undo if-match interface
Match the next-hop of the
routing information
routing information
if-match ip next-hop { acl acl-number | ip-prefix
ip-prefix-name }
ip-prefix-name }
Disable matching the next-hop
of the routing information set
by ACL
of the routing information set
by ACL
undo if-match ip next-hop
Disable matching the next-hop
of the routing information set
by address prefix list
of the routing information set
by address prefix list
undo if-match ip next-hop ip-prefix
Match the routing cost of the
routing information
routing information
if-match cost value
Disable matching the routing
cost of the routing information
cost of the routing information
undo if-match cost
Match the tag domain of the
OSPF routing information
OSPF routing information
if-match tag value
Cancel the tag domain of the
matched OSPF routing
information
matched OSPF routing
information
undo if-match tag