44
Static routing commands
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
Predefined user roles
network-admin
Parameters
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. Without this option, the command deletes all static routes for the public network.
Usage guidelines
When you use this command, the system will prompt 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.
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
ip route-static
display route-static nib
Use
display route-static nib
to display static route next hop information.
Syntax
display route-static nib
[
nib-id
] [
verbose
]
Views
Any view
Predefined user roles
network-admin