1-1
1 Static Routing Configuration Commands
The term “router” in this document refers to a router in a generic sense or a Layer 3 switch.
Static Routing Configuration Commands
delete static-routes all
Syntax
delete static-routes all
View
System view
Default Level
2: System level
Parameters
None
Description
Use the delete static-routes all command 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: ip route-static and display ip routing-table in IP Routing Basics Commands.
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 reconf
igure all static routes
Are you sure?[Y/N]:Y