H3C S3100-52P Command Manual page 4

Routing protocol
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – Routing Protocol
H3C S3100-52P Ethernet Switches
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.
<H3C> 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.
<H3C> display ip routing-table 169.253.0.0
Destination/Mask
169.0.0.0/8
# There are corresponding routes in the natural mask range. Display detailed
information.
<H3C> display ip routing-table 169.0.0.0 verbose
Routing tables:
+ = Active Route, - = Last Active, # = Both
Summary count: 1
**Destination: 169.0.0.0
Protocol Pre Cost
Static
Protocol Pre
Static
Protocol: #STATIC
Chapter 1 IP Routing Table Display Commands
Nexthop
60
0
2.1.1.1
Cost
Nexthop
60
0
2.1.1.1
Mask: 255.255.255.0
Preference: 60
1-3
Interface
LoopBack1
Interface
LoopBack1
* = Next hop in use

Advertisement

Table of Contents
loading

Table of Contents