3com 8807 User Guide

Page of 883
Displaying and Debugging Static Route
287
Other parameters
The attributes reject and blackhole respectively indicate the unreachable route 
and the blackhole route.
Configuring a Default 
Route
Perform the following configurations in system view.
The meanings of parameters in the command are the same as those of the static 
route.
Deleting All the Static 
Routes
You can use the undo ip route-static command to delete one static route. The 
Switch 8800 Family series also provide the following command for you to delete 
all static routes at one time, including the default routes.
Perform the following configuration in system view.
Displaying and 
Debugging Static 
Route
After the above configuration, execute the display command in any view to 
display the running of the static route configuration, and to verify the effect of the 
configuration.
Table 250   Configure a default route
Operation 
Command 
Configure a default route 
ip route-static 0.0.0.0 { 0.0.0.0 | 0 } { interface-type 
interface-number | gateway-address } [ preference value ] [ 
reject | blackhole ] 
Delete a default route 
undo ip route-static 0.0.0.0 { 0.0.0.0 | 0 } [ interface-type 
interface-number | gateway-address ] [ preference value ]
Table 251   Delete all static routes
Operation 
Command 
Delete all static routes 
delete static-routes all 
Delete all static routes of the VPN 
delete vpn-instance vpn-instance-name 
static-routes all
Table 252   Display and debug the routing table
Operation 
Command 
Display routing table summary 
display ip routing-table 
Display routing table details 
display ip routing-table verbose 
Display the detailed information of a specific 
route 
display ip routing-table ip-address [ mask ] [ 
longer-match ] [ verbose ] 
Display the route information in the specified 
address range 
display ip routing-table ip-address1 mask1 
ip-address2 mask2 [ verbose ] 
Display the route filtered through the 
specified basic access control list (ACL) 
display ip routing-table acl { acl-number | 
acl-name } [ verbose ] 
Display the route information that is filtered 
through the specified ip prefix list 
display ip routing-table ip-prefix 
ip-prefix-number [ verbose ] 
Display the routing information discovered by 
the specified protocol 
display ip routing-table protocol protocol [ 
inactive | verbose ] 
Display the tree routing table 
display ip routing-table radix