3com 3.01.01 User Manual

Page of 356
Static Routes
69
destination address is in the directly connected network, the transmitting 
interface can be specified.
For a P2P interface, the address of the next hop defines the transmitting 
interface because the address of the opposite interface is the address of the 
next hop of the route.
In fact, for all routing items, the next hop address must be specified. When the 
IP layer transmits a packet, it first searches the matching route in the routing 
table, depending on the destination address of the packet. Only when the next 
hop address of the route is specified, can the link layer find the corresponding 
link layer address, and then forward the packet.
For different configurations of preference-value, you can flexibly apply the 
routing management policy.
The reject and blackhole attributes indicate the unreachable route and the 
blackhole route.
Configuring a Default Route
Perform the following configurations in system view.
Parameters for default route are the same as for static route.
Deleting All Static Routes
You can use the undo ip route-static command to delete one static route. The 
Switch 8800 also provides the delete static-route all 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 Routes
After you configure static and default routes, execute the display command in all 
views, to display the static route configuration, and to verify the effect of the 
configuration. 
Table 3   Configuring a Default Route
Operation
Command
Configure a default route
ip route-static 0.0.0.0 { 0.0.0.0 | 0 } { 
interface-name | gateway-address } [ 
preference 
value ] [ reject | blackhole ]
Delete a default route
undo ip route-static 0.0.0.0 { 0.0.0.0 | 0 } { 
interface-name | gateway-address } ]
Table 4   Deleting All Static Routes
Operation
Command
Delete all static routes
delete static-routes all
Table 5   Displaying and Debugging the Routing Table
Operation
Command
View routing table summary
display ip routing-table 
View routing table details
display ip routing-table verbose
View the detailed information of a specific 
route
display ip routing-table ip-address