R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
250
ip route-static default-preference
Syntax
ip route-static default-preference default-preference-value
undo ip route-static default-preference
View
System view
Default level
2: System level
Parameters
default-preference-value: Default preference for static routes, which is in the range of 1 to 255.
Description
Use ip route-static default-preference to configure the default preference for static routes.
Use undo ip route-static default-preference to restore the default.
By default, the default preference of static routes is 60.
If no preference is specified when you configure a static route, the default preference is used.
When the default preference is re-configured, it applies to newly added static routes only.
Related commands: ip route-static and display ip routing-table.
Examples
# Set the default preference of static routes to 120.
<Sysname> system-view
[Sysname] ip route-static default-preference 120