3com 3031 Instruccion De Instalación
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
576
C
HAPTER
43: IP R
OUTING
P
OLICY
C
ONFIGURATION
By default, no matching will be performed.
But please note:
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.
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.
Defining Apply Clauses
for a Route-policy
The apply clauses specify actions, which are the configuration commands
executed after a route satisfies the filtering conditions specified by the if-match
clauses. Thereby, some attributes of the route can be modified.
executed after a route satisfies the filtering conditions specified by the if-match
clauses. Thereby, some attributes of the route can be modified.
Perform the following configuration in route-policy view.
Match the community attribute
of the BGP routing information
of the BGP routing information
if-match community {
standard-community-number [ whole-match ] |
extended-community-number }
standard-community-number [ whole-match ] |
extended-community-number }
Cancel the matched community
attribute of the BGP routing
information
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 }
ip-prefix-name }
Cancel the matched destination
address of the routing
information
address of the routing
information
undo if-match { acl acl-number | ip-prefix
ip-prefix-name }
ip-prefix-name }
Match the next-hop interface of
the routing information
the routing information
if-match interface [interface-type number ]
Cancel the matched 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 ip-prefix-name }
Cancel the matched next-hop of
the routing information
the routing information
undo if-match ip next-hop [ ip-prefix ]
Match the routing cost of the
routing information
routing information
if-match cost value
Cancel the matched routing
cost of the routing information
cost of the routing information
undo if-match cost
Match the tag field of the OSPF
routing information
routing information
if-match tag value
Remove the tag field matching
OSPF routing information
OSPF routing information
undo if-match tag
Table 673 Definiing if-match conditions