F3215-HP Load Balancing Module Network Management Command Reference-6PW101
146
ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length }
{ next-hop-address [ public ] [ track track-entry-number ] | interface-type interface-number
next-hop-address } [ 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.
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 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 re-configured, 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.
permanent: Specifies the route as a permanent static route. If the output interface is down, the permanent
static route is still active.
description description-text: Configures a description for the static route, which comprises 1 to 60
characters, including special characters like space, but excluding question marks (?).
track track-entry-number: Associates the static route with a track entry specified by its number in the
range of 1 to 1024. For more information about track, see High Availability Configuration Guide.
Usage guidelines
When you configure a unicast static route, follow these guidelines: