H3C S3100 Series Command Manual page 93

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

mask: Mask of the destination IP address, which can be in dotted decimal notation or be an integer
ranging from 0 to 32.
longer-match: Displays all the routes leading to the destination coupled with the default mask.
verbose: Displays the detailed information about the active and inactive routes leading to the
destination. If this keyword is not specified, only the summary information about the active routes is
displayed.
Description
Use the display ip routing-table ip-address command to display the information about the routes
leading to a specified destination.
The output information of this command differs with the arguments/keywords specified as follows:
display ip routing-table ip-address
For the destination address ip-address, if there are some routes matched within the natural mask range,
the active routes which best match ip-address are displayed.
display ip routing-table ip-address mask
Only the routes which match exactly the specified destination address and mask are displayed.
display ip routing-table ip-address longer-match
All routes with their destination addresses matched within the natural mask range are displayed.
display ip routing-table ip-address mask longer-match
All routes with their destination addresses matched within the specified mask range are displayed.
Example
# Display the summary information of the routes with their destination addresses matched within the
natural mask range.
<Sysname> display ip routing-table 10.1.1.0
Destination/Mask
10.1.1.0/24
Refer to
Table 1-1
# Display the detailed information of the routes with their destination addresses matched within the
natural mask range.
<Sysname> display ip routing-table 10.1.1.0 verbose
Routing tables:
+ = Active Route, - = Last Active, # = Both
Summary count: 1
**Destination: 10.1.1.0
Protocol: #STATIC
*NextHop: 192.168.0.31
State: <Int ActiveU Gateway Static Unicast>
Age: 32:31
Refer to
Table 1-2
Protocol Pre
Cost
STATIC
60
0
for the description on the output fields.
Mask: 255.255.255.0
Preference: 60
Interface: 192.168.0.246(Vlan-interface1)
Cost: 0/0
for the description on the output fields.
Nexthop
Interface
192.168.0.31
* = Next hop in use
1-5
Vlan-interface1

Advertisement

Table of Contents
loading

Table of Contents