HP VPN Firewall Appliances Network Management Command Reference
272
Syntax
ip route-static dest-address { mask | mask-length } { next-hop-address [ bfd control-packet [ bfd-source
ip-address ] | track track-entry-number ] | interface-type interface-number [ next-hop-address ] [ bfd
{ control-packet [ bfd-source ip-address ] | echo-packet } ] | vpn-instance d-vpn-instance-name
next-hop-address [ track track-entry-number ] } [ preference preference-value ] [ tag tag-value ]
[ permanent ] [ description description-text ]
undo ip route-static dest-address { mask | mask-length } [ next-hop-address | interface-type
interface-number [ next-hop-address ] | vpn-instance d-vpn-instance-name next-hop-address ]
[ preference preference-value ]
ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { ma
sk | mask-length }
{ next-hop-add
ress [ public ] [ bfd control-packet [ bfd-source ip-address ] | track track-entry-number ] |
interface-type interface-number [ next-hop-address ] [ bfd { control-packet [ bfd-source ip-address ] |
echo-packet } ] } [ preference preference-value ] [ tag tag-value ] [ permanent ] [ description
description-text ]
undo ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length }
[ next-hop-address [ public ] | interface-type interface-number [ next-hop-address ] ] [ preference
preference-value ]
Default
No unicast static route is configured.
Views
System view
Default command level
2: System level
Parameters
vpn-instance s-vpn-instance-name&<1-6>: Specifies a source VPN by its name, a case-sensitive string of
1 to 31 characters. &<1-6> indicates the argument before it can be entered up to six times. Each VPN has
its own routing table, and the configured static route is installed in the routing tables of the specified
VPNs.
dest-address: Specifies a destination IP address of the static route, in dotted decimal notation.
mask: Specifies mask of the IP address, in dotted decimal notation.
mask-length: Specifies mask length, in the range of 0 to 32.
next-hop-address: Specifies IP address of the next hop, in dotted decimal notation.
interface-type interface-number: Specifies an output interface by its type and number. If the output
interface is a NBMA interface or broadcast interface (such as an Ethernet interface, a virtual template
interface, or a VLAN interface), rather than a point-to-point (P2P) interface, the next hop address must be
specified.
preference preference-value : Specifies a preference for the static route, in the range of 1 to 255. The
default is 60. If no preference is specified, the default preference is used. When the default preference
is reconfigured, it applies to only newly added static routes.
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 in routing policies to control routing. For more information about routing
policies, see Network Management Configuration Guide.