Ip Route-Static Default-Preference - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

tag tag-value: Sets a tag value for marking the static route, in the range of 1 to 4294967295. The default
is 0. Tags of routes are used for route control in routing policies. For more information about routing
policies, see Layer 3—IP Routing Configuration Guide.
description description-text: Configures a description for the static route, which comprises 1 to 60
characters, including special characters like the space, but excluding the question mark (?).
Usage guidelines
If the destination IP address and the mask are both 0.0.0.0 (or 0), the configured route is a default route.
The default route is used for forwarding a packet matching no entry in the routing table.
Implement different routing policies to configure different route preferences. For example, to enable load
sharing for multiple routes to the same destination, assign the same preference to the routes. To enable
the routes to back up one another, assign different preferences to them.
Follow these guidelines when you specify the output interface or the next hop address of the static route:
If the output interface is a Null 0 interface, no next hop address is required.
If the output interface is a broadcast interface that might have multiple next hops, you must specify
the next hop address at the same time. Broadcast interfaces include Ethernet interfaces and VLAN
interfaces.
Follow these guidelines when you configure a static route:
Enabling BFD for a flapping route could worsen the situation. Therefore, use it with caution. For
more information about BFD, see High Availability Configuration Guide.
For static routing-Track-NQA collaboration, you must configure the same VPN instance ID for the
next hop to be detected and the NQA operation.
If a static route needs route recursion, the associated track entry must monitor the next hop of the
recursive route instead of that of the static route. Otherwise, a valid route might be mistakenly
considered invalid.
Do not specify the permanent keyword together with the bfd or track keyword.
Examples
# Configure a static route, whose destination address is 1.1.1.1/24, next hop address is 2.2.2.2, tag value
is 45, and description information is for internet.
<Sysname> system-view
[Sysname] ip route-static 1.1.1.1 24 2.2.2.2 tag 45 description for internet
Related commands
display ip routing-table protocol

ip route-static default-preference

Use ip route-static default-preference to configure a default preference for static routes.
Use undo ip route-static default-preference to restore the default.
Syntax
ip route-static default-preference default-preference-value
undo ip route-static default-preference
Default
The default preference of static routes is 60.
51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents