3com 8807 Reference Guide

Page of 1099
IP Routing Policy Configuration Commands
549
undo apply cost
View
Route policy view
Parameter
value: Specifies the route cost value of route information.
Description
Use the apply cost command to configure the route cost value of route 
information. Use the undo apply cost command to cancel the Apply 
sub-statement.
By default, no Apply sub-statement is defined.
This command is one Apply sub-statement of Route-policy. It configures the route 
cost value of the routing information that passes the filtration.
Related command: if-match interfaceif-match aclif-match ip-prefix
if-match ip next-hopif-match costif-match tagroute-policyapply ip 
next-hop
apply local-preferenceapply originapply tag.
Example
# Define one Apply sub-statement. When it is used for setting route information 
attribute, it sets the route metric value of route information as 120.
[3Com-route-policy] apply cost 120 
apply cost-type
Syntax
apply cost-type [ internal | external ]
undo apply cost-type
View
Route policy View
Parameter
internal: For BGP, it indicates when a BGP peer advertises routes to its EBGP peer, 
the peer uses the cost value of IGP as the MED value of BGP. For IS-IS, it indicates 
the internal cost. For other protocols, it is invalid.
external: It is only valid for IS-IS and it indicates external cost type of IS-IS.
Description
Use the apply cost-type command to configure the route cost type of route 
information. Use the undo apply cost-type command to cancel the Apply 
sub-statement.
By default, route cost type is not set.
Example
# Set the cost type of IGP as MED value of BGP.