HP VPN Firewall Appliances Network Management Command Reference
271
Static routing commands
The term "router" in this document refers to both routers and routing-capable firewalls and firewall
modules.
delete static-routes all
Use delete static-routes all to delete all static routes.
Syntax
delete [ vpn-instance vpn-instance-name ] static-routes all
Views
System view
Default command level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies a VPN by its name, a case-sensitive string of 1 to 31
characters.
Usage guidelines
When you use this command, the system prompts you to confirm the operation before deleting all the
static routes.
To delete one static route, use the undo ip route-static command. To delete all static routes, including the
default route, use the delete static-routes all command.
If no VPN is specified, the command deletes all static routes for the public network.
Examples
# Delete all static routes.
<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
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.