Display Ip Routing-Table Ip-Address - H3C S3100-52P Command Manual

Static route
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – Static Route
H3C S3100-52P Ethernet Switch

1.1.3 display ip routing-table ip-address

Syntax
display ip routing-table ip-address [ mask | mask-length ] [ longer-match ]
[ verbose ]
View
Any view
Parameters
ip-address: Destination IP address, in dotted decimal notation.
mask: Subnet mask, in dotted decimal notation.
mask-length: Length of a subnet mask, in the range of 0 to 32.
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: Displays the detailed information of 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.
Examples
# Display the brief information of routes with a natural mask.
1-6
Chapter 1 IP Routing Table
Commands

Advertisement

Table of Contents
loading

Table of Contents