3Com 5500-SI Switch User Manual


 
IP Routing Policy 261
By default, no matching is performed.
The
if-match clauses for a node in the route policy require that the route 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.
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 that are specified in the
if-match
clauses. In this way, some attributes of the route can be modified.
Perform the following configurations in Route Policy View.
By default, no apply clauses are defined.
Importing Routing Information Discovered by Other Routing Protocols
A routing protocol can import the routes that are discovered by other routing
protocols to enrich its route information. The route policy can filter route information
to implement the redistribution. If the destination routing protocol that imports the
routes cannot directly reference the route costs of the source routing protocol, you
should satisfy the requirement of the destination protocol by specifying a route cost
for the imported route.
Cancel the matched next-hop of
the routing information set by ACL
undo if-match ip next-hop
Cancel the matched next-hop of
the routing information set by the
address prefix list
undo if-match ip next-hop ip-prefix
Match the routing cost of the
routing information
if-match cost cost
Cancel the matched routing cost of
the routing information
undo if-match cost
Match the tag domain of the OSPF
routing information
if-match tag value
Cancel the tag domain of the
matched OSPF routing information
undo if-match tag
Table 255 Defining Apply Clauses
Operation Command
Set the routing cost of the routing information apply cost value
Cancel the routing cost of the routing information undo apply cost
Set the tag domain of the OSPF routing information apply tag value
Cancel the tag domain of the OSPF routing information undo apply tag
Table 254 Defining if-match Conditions (continued)
Operation Command