3com 3031 Instruccion De Instalación

Descargar
Página de 1122
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.
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 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
if-match community { 
standard-community-number
 [ whole-match ] | 
extended-community-number
 }
Cancel the matched community 
attribute of the BGP routing 
information
undo if-match community  
Match the destination address 
of the routing information
if-match { acl acl-number | ip-prefix  
ip-prefix-name
 } 
Cancel the matched destination 
address of the routing 
information
undo if-match { acl acl-number | ip-prefix 
ip-prefix-name
 }
Match the next-hop interface of 
the routing information
if-match interface [interface-type number ]
Cancel the matched next-hop 
interface of the routing 
information
undo if-match interface
Match the next-hop of the 
routing information
if-match ip next-hop { acl acl-number | 
ip-prefix ip-prefix-name
 }
Cancel the matched next-hop of 
the routing information
undo if-match ip next-hop [ ip-prefix  ]
Match the routing cost of the 
routing information
if-match cost value
Cancel the matched routing 
cost of the routing information
undo if-match cost
Match the tag field of the OSPF 
routing information
if-match tag value
Remove the tag field matching 
OSPF routing information
undo if-match tag
Table 673   Definiing if-match conditions