HP VPN Firewall Appliances Network Management Command Reference
274
• 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.
• If the Track module uses NQA to detect the reachability of the private network static route's next hop,
the VPN instance number of the static route's next hop must be identical to that configured in the
NQA test group.
• 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.
• Destination VPN is not supported by the device. To achieve packet forwarding between different
VPNs, specify both the output interface and the next hop address of the static route.
• 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 & intranet.
<Sysname> system-view
[Sysname] ip route-static 1.1.1.1 24 2.2.2.2 tag 45 description for internet & intranet
# Configure a static route for a VPN instance named vpn1: the destination address is 1.1.1.1/16 and the
next hop address is 1.1.1.2. (The next hop address is the address of VPN instance vpn 2 bound to
GigabitEthernet 0/1.)
<Sysname> system-view
[Sysname] ip route-static vpn-instance vpn1 1.1.1.1 16 gigabitethernet0/1 1.1.1.2
Related commands
• display ip routing-table
• ip route-static default-preference
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.
Views
System view
Default command level
2: System level
Parameters
default-preference-value: Specifies a default preference for static routes, in the range of 1 to 255.