Static Routing Configuration Commands; Delete Static-Routes All; Ip Route-Static - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

Static routing configuration commands

The term "router" in this chapter refers to both routers and Layer 3 switches.

delete static-routes all

Syntax
delete [ vpn-instance vpn-instance-name ] static-routes all
View
System view
Default level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a
case-sensitive string of 1 to 31 characters. If no VPN is specified, all static routes on the public
network are deleted.
Description
Use delete static-routes all to delete all static routes.
When you use this command to delete static routes, the system will prompt you to confirm the
operation before deleting all the static routes.
Related commands: display ip routing-table and ip route-static.
Examples
# Delete all static routes on the router.
<Sysname> system-view
[Sysname] delete static-routes all
This will erase all ipv4 static routes and their configurations, you must reconfigure all
static routes
Are you sure?[Y/N]:Y

ip route-static

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 [ bfd control-packet bfd-source ip-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 { mask | 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
24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents