25
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 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 a source MPLS L3VPN. s-vpn-instance-name is a
case-sensitive string of 1 to 31 characters. &<1-6> indicates the argument before it can be entered up to
6 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 the destination IP address of the static route, in dotted decimal notation.
mask: Specifies the mask of the IP address, in dotted decimal notation.
mask-length: Specifies the mask length, in the range of 0 to 32.
next-hop-address: Specifies the 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 a VLAN interface, the next hop address must be specified.
vpn-instance d-vpn-instance-name: Specifies a destination MPLS L3VPN. d-vpn-instance-name is a
case-sensitive string of 1 to 31 characters. If a destination VPN is specified, the router will search the
output interface in the destination VPN 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, 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. For more information about routing policies, see "Routing
policy configuration commands."
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 consists of 1 to 60
characters, including special characters like space, but excluding question marks (?).
bfd: Enable the bidirectional forwarding detection (BFD) function to detect reachability of the static
route's next hop. Once the next hop is unreachable, the system will switch to a backup route.
control-packet: Implements BFD in the control mode.
echo-packet: Implements BFD in the echo mode.
bfd-source ip-address: Specifies the source address of BFD packets. HP recommends you configure
loopback interface address.