F3215-HP Load Balancing Module Network Management Command Reference-6PW101
145
Static routing configuration commands
The term "router" in this document refers to both routers and LB module.
delete static-routes all
Use delete static-routes all to delete all static routes.
Syntax
delete static-routes all
Views
System view
Default command level
2: System level
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.
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.
Syntax
ip route-static dest-address { mask | mask-length } { next-hop-address [ track track-entry-number ] |
interface-type interface-number [ next-hop-address ] } [ preference preference-value ] [ tag tag-value ]
[ permanent ] [ description description-text ]
undo ip route-static dest-address { mask | mask-length } [ next-hop-address | interface-type
interface-number [ next-hop-address ] ] [ preference preference-value ]