Ip Route-Static Default-Preference - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] ip route-static vpn-instance vpn1 1.1.1.1 16 vpn-instance vpn1 1.1.1.2
# Configure a static route: the destination address is 1.1.1.1/24, the output interface is Vlan-interface1 1,
and the next hop address is 2.2.2.2, and enable BFD with the echo packet mode.
<Sysname> system-view
[Sysname] ip route-static 1.1.1.1 24 Vlan-interface 11 2.2.2.2 bfd echo-packet

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: Specifies the default preference for static routes, 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 configuring a static route, the default preference is used.
When the default preference is re-configured, it applies only to newly added static routes.
Related commands: display ip routing-table and ip route-static.
Examples
# Set the default preference of static routes to 120.
<Sysname> system-view
[Sysname] ip route-static default-preference 120
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents