Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 1 Static Route Configuration Commands
3Com Corporation
1-4
View
Any view
Parameter
ip_address: Destination IP address in dotted decimal format.
mask: IP address mask, which can be in dotted decimal notation or represented by an
integer in the range of 0 to 32.
longer-match: Indicates all route destination addresses are matched in the natural
mask range.
verbose: With the verbose parameter, this command displays the verbose information
of both the active and inactive routes. Without the parameter, this command only
displays the summary of active routes.
Description
Use the display ip routing-table ip_address command to view the routing information
of the specified destination address.
With different optional parameters, the output of the command is different. The
following is the output description for different forms of this command:
z display ip routing-table ip_address
If destination address, ip_address, has corresponding routes in natural mask range,
this command will display all subnet routes. Or, only the route best matching the
destination address, ip_address, is displayed. And only the active matching route is
displayed.
z display ip routing-table ip_address mask,
This command only displays the route fully matching with specified destination address
and mask.
z display ip routing-table ip_address longer-match
This command displays all route destination addresses matching with destination
addresses in natural mask range.
Example
# There is corresponding route in natural mask range. View the summary.
<3Com > display ip routing-table 169.0.0.0
Routing Tables:
Summary count:1
Destination/Mask Proto Pre Cost Nexthop Interface
169.0.0.0/16 Static 60 0 2.1.1.1 LoopBack1
# There is no corresponding route (only the longest matching route is displayed) in
natural mask range and summary is viewed.