R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
190
ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length }
{ next-hop-address [ track track-entry-number ] [ public ] | interface-type interface-number
[ next-hop-address ] | vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] }
[ preference preference-value ] [ tag tag-value ] [ 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 ] | vpn-instance
d-vpn-instance-name next-hop-address ] [ preference preference-value ]
View
System view
Default level
2: System level
Parameters
vpn-instance s-vpn-instance-name&<1-6>: Specifies the VPN instance name, which is a string of 1 to 31
case-sensitive characters. &<1-6> indicates the argument before it can be entered up to 6 times. Each
VPN instance has its own routing table, and the configured static route is installed in the routing tables
of the specified VPN instances.
dest-address: Destination IP address of the static route, in dotted decimal notation.
mask: Mast of the IP address, in dotted decimal notation.
mask-length: Mask length, in the range 0 to 32.
next-hop-address: IP address of the next hop, in dotted decimal notation.
interface-type interface-number: Specifies the output interface by its type and number. If the output
interface is a broadcast interface, such as an Ethernet interface or a VLAN interface, the next hop
address must be specified.
vpn-instance d-vpn-instance-name: Name of the destination VPN instance, case-sensitive. If a
destination VPN instance name is specified, the router will search the output interface in the destination
VPN instance based on the configured next-hop-address.
next-hop-address public: Indicates that the specified next-hop-address is a public network address, rather
than a VPN instance address.
preference preference-value : Specifies the preference of the static route, which is in the range of 1 to 255
and defaults to 60.
tag tag-value: Sets a tag value for the static route from 1 to 4294967295. The default is 0. Tags of routes
are used in routing policies to control routing.
description description-text: Configures a description for the static route, which consists of 1 to 60
characters, including special characters like space, but excluding ?.
track track-entry-number: Associates the static route with a track entry. Use the track-entry-number
argument to specify a track entry number, in the range 1 to 1024.
Description
Use the ip route-static command to configure a unicast static route.
Use the undo ip route-static command to delete a unicast static route.
When configuring a unicast static route, note the following: