3com 8807 사용자 가이드
Displaying and Debugging Static Route
287
■
Other parameters
The attributes reject and blackhole respectively indicate the unreachable route
and the blackhole 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.
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.
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
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.
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 ]
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 ]
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
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
route
display ip routing-table ip-address [ mask ] [
longer-match ] [ verbose ]
longer-match ] [ verbose ]
Display the route information in the specified
address range
address range
display ip routing-table ip-address1 mask1
ip-address2 mask2 [ verbose ]
ip-address2 mask2 [ verbose ]
Display the route filtered through the
specified basic access control list (ACL)
specified basic access control list (ACL)
display ip routing-table acl { acl-number |
acl-name } [ verbose ]
acl-name } [ verbose ]
Display the route information that is filtered
through the specified ip prefix list
through the specified ip prefix list
display ip routing-table ip-prefix
ip-prefix-number [ verbose ]
ip-prefix-number [ verbose ]
Display the routing information discovered by
the specified protocol
the specified protocol
display ip routing-table protocol protocol [
inactive | verbose ]
inactive | verbose ]
Display the tree routing table
display ip routing-table radix