Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
0错误!表格结果无效。
Huawei Technologies Proprietary
1-6
Field Description
Age Time to live
Cost Value of the cost
Tag Tag of the route
1.1.3 display ip routing-table ip_address
Syntax
display ip routing-table ip_address [ mask ] [ longer-match ] [ verbose ]
View
Any view
Parameter
ip_address: Destination IP address.
mask: IP address mask, length in dotted decimal notation or integer. It ranges from 0 to
32 when it is expressed with integer.
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.
longer-match: Routes matching the destination address in specified mask range. If no
mask is specified, all the routes matching the destination address in natural mask
range are displayed.
Description
Using display ip routing-table ip_address command, you can view the routing
information of the specified destination address.
With different parameters, the output of 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 route 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