HP VPN Firewall Appliances Network Management Command Reference

1059
Default command level
2: System level
Parameters
+: Increases a cost value.
-: Decreases a cost value.
value: Cost in the range of 0 to 4294967295.
Examples
# Configure node 10 in permit mode of routing policy policy1. Set a cost of 120 for routing information
whose outbound interface is GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface gigabitethernet 0/1
[Sysname-route-policy] apply cost 120
apply cost-type
Use apply cost-type to set a cost type for routing information.
Use undo apply cost-type to remove the clause configuration.
Syntax
apply cost-type { external | internal | type-1 | type-2 }
undo apply cost-type
Default
No cost type is set for routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
external: Sets the cost type to IS-IS external route.
internal: Sets the cost type to IS-IS internal route, or sets the MED value for a matching BGP route to the
IGP metric of the route's next hop.
The following matrix shows the keywords external and internal and hardware compatibility:
Hardware Com
p
atibilit
y
F1000-A-EI/F1000-S-EI No
F1000-E No
F5000 Yes
F5000-S/F5000-C No
VPN firewall modules No