Huawei Quidway S3900 series Command Manual page 315

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Parameter
ip-address: Destination IP address, in dotted decimal notation.
mask: IP address mask, length in dotted decimal notation or expressed as an integer. It
ranges from 0 to 32 when expressed as an integer.
longer-match: Specifies all the routes that lead to the destination address and match
the specified mask. If you do not specify the mask argument, those that match the
natural mask are specified.
verbose: With the verbose argument specified, this command displays the verbose
information of both the active and inactive routes. Without the argument specified, this
command only displays the summary of active routes.
Description
Use the display ip routing-table ip-address command to display the routing
information of the specified destination address.
With different arguments provided, the command output is different. The following is the
command output with different arguments provided:
display ip routing-table ip-address
If the destination address ip-address corresponds to a route in the natural mask range,
this command displays the route that is the longest match of the destination address
ip-address and is active.
display ip routing-table ip-address mask
This command only displays the routes exactly matching the specified destination
address and mask.
display ip routing-table ip-address longer-match
This command displays all destination address routes matching the specified
destination address in the natural mask range.
display ip routing-table ip-address mask longer-match
This command displays all destination address routes matching the specified
destination address in the specified mask range.
Example
# There is a corresponding route in the natural mask range. Display the summary.
<Quidway> display ip routing-table 169.0.0.0
Destination/Mask
169.0.0.0/16
For detailed description of the output information, see Table 1-1.
# There is no corresponding route (only the longest matching route is displayed) in the
natural mask range. Display the summary.
Protocol Pre Cost
Static
60
0
Huawei Technologies Proprietary
1-6
Chapter 1 Static Route Configuration
Nexthop
Interface
2.1.1.1
LoopBack1
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents