Route Policy Configuration Commands; Common Route Policy Configuration Commands; Apply Cost - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

6

Route Policy Configuration Commands

The common configuration commands of route policy are applicable to both IPv4 and IPv6.

Common Route Policy Configuration Commands

apply cost

Syntax
apply cost [ + | - ] value
undo apply cost
View
Route policy view
Default Level
2: System level
Parameters
+: Increases a cost value.
+: Decreases a cost value.
cost: Cost in the range 0 to 4294967295.
Description
Use the apply cost command to set a cost for routing information.
Use the undo apply cost command to remove the clause configuration.
No cost is set for routing information by default.
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 next-hop, apply tag.
Examples
# Configure node 10 in permit mode of route policy policy1: set a cost of 120 for routing information
whose outbound interface is Vlan-interface 10.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface Vlan-interface 10
6-1

Advertisement

Table of Contents
loading

Table of Contents