IP Routing Policy Configuration Commands 221
View
Route Policy View
Parameter
value
Enter the route cost value of route information.
Description
Use the apply cost command to configure the route cost value of route
information. This command is one of the
apply sub-statements of the
Route-policy attribute set.
Use the undo apply cost command to cancel the apply sub-statement.
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 next-hop, apply local-preference, apply origin
and apply 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 to 120.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]route-policy permit node 1
% New sequence of this list
[SW5500-route-policy]apply cost 120
apply tag Syntax
apply tag
value
undo apply tag
View
Route Policy view
Parameter
value
Enter the tag value of route information.
Description
Use the apply tag command to configure to set the tag area of OSPF route
information. This command is one of the
apply sub-statements of the
Route-policy attribute set.
Use the undo apply tag command to cancel the apply sub-statement.
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 next-hop, apply local-preference, apply cost
and apply origin.
Example
Define one apply sub-statement. When it is used for setting route information
attribute, it sets the tag area of route information to 100.