R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
27
Related commands
• display ip routing-table
• ip route-static
ip route-static
Use ip route-static to configure a unicast static route.
Use undo ip route-static to delete a unicast static route.
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-address [ 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 } ] | 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 ]
ip route-static multiple-topology topolog
y-name dest-address { mask | mask-length } { next-hop-address
| interface-type interface-number [ next-hop-address ] } [ preference preference-value ] [ tag tag-value ]
[ description description-text ]
undo ip route-static multiple-topology topology-name dest-address { mask | mask-length }
[ next-hop-address | 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 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
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.