Configure IP Routing Policy 483

be filtered through the routing policy unless it matches all if-match clauses of this part and it can execute the operation of teh apply sub-clause.

If an if-match clause is not specified, all routing information is filtered through the policy of this node.

Defining an Apply The apply clause specifies the configuration commands that are executed after Clause the filtering conditions specified by the if-matchclause are satisfied. The

commands are used to modify attributes of the routing information.

Perform the following configurations in Routing policy view.

Table 562 Define a Setting Clause

Operation

Command

 

 

Specify the AS number ahead of the

apply as-pathaspath-list-number

original AS path in Routing policy.

 

 

 

Cancel the AS number ahead of the

undo apply as-path

original AS path in Routing policy.

 

 

 

Set BGP community attribute in Routing

apply community { { aa:nn

policy

no-export-subconfed no-advertise

 

no-export } [ addtive ] none }

 

 

Cancel BGP community attribute in

undo apply community

Routing policy

 

 

 

Set the next hop address of BGP routing

apply ip next-hop ip-address

information.

 

 

 

Cancel the next hop address of BGP

undo apply ip next-hop

routing information.

 

 

 

Set the local preference of BGP routing

apply local-preference value

information.

 

 

 

Cancel the local preference of BGP routing

undo apply local-preference

information.

 

 

 

Set the cost of routing information.

apply cost cost

 

 

Cancel the cost of routing information.

undo apply cost

 

 

Set the origin attribute of the original

apply origin { igp egp as-number

route in the Route-policy

incomplete }

 

 

Remove the origin attribute of the original

undo apply origin

route in the Route-policy.

 

 

 

Set the OSPF tag value

apply tag tag-value

 

 

Cancel the OSPF tag value

undo apply tag

 

 

By default, AS number, BGP community attribute, next hop, local preference, metric value, origin attribute and routing information tag field are not set.

Configuring Route Different routing protocols can import and share the routing information. When Import the routing information of other protocols is imported, the inappropriate routing information can be filtered The metric of distributed destination routing protocol cannot exchange with that of the imported original routing protocol. At this time,

a route metric should be specified for the imported route.

Perform the following configurations in RIP view, OSPF view, or BGP view.

Page 487
Image 487
3Com 10014299 Define a Setting Clause, Apply community aa nn, No-export addtive none, Apply tag tag-value, Undo apply tag