2-1
2
Static Routing Configuration Commands
The term
router
in this document refers to both routers and Layer 3 switches.
Static Routing Configuration Commands
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-name
: Name of a VPN instance, a string of 1 to 31 case-sensitive characters.
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.
Related commands:
ip route-static
and
display ip routing-table
in
IP Routing Basics
Configuration Commands
in the
Layer 3 - IP Routing Command Reference
.
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