3Com 10014299 Network Router User Manual


 
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
Clause
The apply clause specifies the configuration commands that are executed after
the filtering conditions specified by the
if-match clause 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
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
Import
Different routing protocols can import and share the routing information. When
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.
Operation Command
Specify the AS number ahead of the
original AS path in Routing policy.
apply as-path aspath-list-number
Cancel the AS number ahead of the
original AS path in Routing policy.
undo apply as-path
Set BGP community attribute in Routing
policy
apply community { { aa:nn |
no-export-subconfed | no-advertise |
no-export } [ addtive ] | none }
Cancel BGP community attribute in
Routing policy
undo apply community
Set the next hop address of BGP routing
information.
apply ip next-hop ip-address
Cancel the next hop address of BGP
routing information.
undo apply ip next-hop
Set the local preference of BGP routing
information.
apply local-preference value
Cancel the local preference of BGP routing
information.
undo apply local-preference
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
route in the Route-policy
apply origin { igp | egp as-number |
incomplete }
Remove the origin attribute of the original
route in the Route-policy.
undo apply origin
Set the OSPF tag value apply tag tag-value
Cancel the OSPF tag value undo apply tag