Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-3
Parameter
value: Specifies the route cost value of route information.
Description
Use the apply cost command to set the route cost value of route information.
Use the undo apply cost command to cancel the apply clause.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match cost, if-match tag, route-policy, apply ip-address, apply
local-preference, apply origin, and apply tag.
Example
# Display how to define one apply clause. When it is used for setting route information
attribute, it sets the route cost value of route information as 120.
[3Com -route-policy] apply cost 120
6.1.4 apply cost-type
Syntax
apply cost-type [ internal | external ]
undo apply cost-type
View
Routing policy view
Parameter
internal: Uses the cost type of IGP as MED value of BGP to advertise route to EBGP
peer.
external: External cost type value of IS-IS.
Description
Use the apply cost-type command to set the route cost type of route information.
Use the undo apply cost-type command to cancel the apply clause.
By default, route cost type is not set.
Example
# Set the cost type of IGP as MED value of BGP
[3Com -route-policy] apply cost-type internal










