Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 1 Static Route Configuration Commands
3Com Corporation
1-15
1.2 Static Route Configuration Commands
1.2.1 delete static-routes all
Syntax
delete static-routes all
View
System view
Parameter
None
Description
Use the delete static-routes all command to cancel all the static routes.
When this command is used to cancel static routes, the user should confirm the
settings before all the configured static routes are canceled.
Related command: display ip routing-table and ip route-static.
Example
# Delete all the static routes configured on router.
[3Com ] delete static-routes all
This will erase all unicast static routes and their configurations, you must
reconfigure all static routes
Are you sure to delete all the static routes?[Y/N]y
1.2.2 ip route-static
Syntax
ip route-static ip-address { mask | mask-length } [ interface-type interface-number ]
[nexthop-address ] [ preference preference-value ] [ reject | blackhole ] [ tag
tag-value ] [ description string ]
undo ip route-static ip-address { mask | mask-length } [ interface-type
interface-number | nexthop-address ] [ preference preference-value ]
ip route-static vpn-instance vpn-instance-name1 vpn-instance-name2 … ip-address
{ mask | mask-length } [ interface-type interface-number [ nexthop-address ] |
vpn-instance vpn-nexthop-name nexthop-address | nexthop-address [ public ] ]
[ preference preference-value ] [ reject | blackhole ]
undo ip route-static vpn-instance vpn-instance-name1 vpn-instance-name2 …
ip-address { mask | mask-length } [ interface-type interface-number | vpn-instance