Static Route
Configuration
Commands
delete static-routes all
ip route-static
Display the summary of the routes to 10.1.1.1 in the VPN-instance vpn1.
<3Com> display ip routing-table vpn-instance vpn1 10.1.1.1
Routing tables: vpn1
Destination/Mask
Protocol
10.1.1.1/32
DIRECT
10.1.1.0/24
DIRECT
Syntax
delete static-routes all
View
System view
Parameter
None
Description
Using the delete static-routes all command, you can 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.
For the related command, see 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
Syntax
ip route-static ip-address { mask | mask-length } { interface-name |
nexthop-address } [ preference preference-value ] [ reject | blackhole ]
undo ip route-static ip-address { mask | mask-length } [ interface-name |
nexthop-address ] [ preference preference-value ]
ip route-static vpn-instance vpn-instance-name1 vpn-instance-name2 ...
ip-address { mask | mask-length } { interface-name | [ vpn-instance
vpn-nexthop-name 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-name [ vpn-instance
vpn-nexthop-name | nexthop-address ] } [ public ] [ preference preference-value
]
Static Route Configuration Commands
Route-Distinguisher: 100:1
Pre
Cost
Nexthop
0
0
127.0.0.1
0
0
10.1.1.1
543
Interface
InLoopBack0
LoopBack0
Need help?
Do you have a question about the 3031 and is the answer not in the manual?