Command Reference Guide

12apply cost 3Com Router 5000 Family and Router 6000 Family
Command Reference
apply cost
Purpose 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.
Syntax apply cost value
undo apply cost
Parameters value
Specifies the route cost value of route information.
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
View This command can be used in the following views:
Routing Policy view
Related Commands 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
apply tag