R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
26
Static routing configuration commands
delete static-routes all
Use delete static-routes all to delete all static routes.
Syntax
delete [ multiple-topology topology-name | vpn-instance vpn-instance-name ] static-routes all
Views
System view
Default command level
2: System level
Parameters
multiple-topology topology-name: Specifies a topology. topology-name is a case-sensitive string of 1 to
31 characters.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is 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.
The undo ip route-static command removes one static route; the delete static-routes all command
removes all static routes, including the default route.
If no topology is specified, all static routes of the base topology are deleted.
If no VPN is specified, all static routes of the public network are deleted.
If neither topology nor VPN is specified, the command deletes all static routes of the base topology on
the public network.
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
# Delete all static routes of topology voice.
<Sysname> system-view
[Sysname] delete multiple-topology voice static-routes all
This will erase all ipv4 static routes of the specify multiple-topology, you must
reconfigure all static routes of the specify multiple-topology
Are you sure?[Y/N]:y