Command Manual - Getting Started
Quidway S2000 Series Ethernet Switches Chapter 2 System IP Configuration Commands
2-6
This command only displays the route fully matching with specified destination
address and mask.
z
display ip routing-table ip_address longer-match
This command displays all destination address route matching with destination
address in natural mask range.
Example
# There is corresponding route in natural mask range. Display the summary.
<Quidway> display ip routing-table 169.0.0.0
Routing Tables:
Summary count:1
Destination/Mask Proto Pre Cost Nexthop Interface
169.0.0.0/16 Static 60 0 2.1.1.1 LoopBack1
For detailed description of the output information, see Table 2-4.
# There is no corresponding route (only the longest matching route is displayed) in
natural mask range and summary is displayed.
<Quidway> display ip routing-table 169.253.0.0
Routing Tables:
Summary count:1
Destination/Mask Proto Pre Cost Nexthop Interface
169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1
# There are corresponding routes in the natural mask range. Display the detailed
information.
<Quidway> display ip routing-table 169.0.0.0 verbose
Routing Tables:
Generate Default: no
+ = Active Route, - = Last Active, # = Both * = Next hop in use
Summary count:2
**Destination: 169.0.0.0 Mask: 255.0.0.0
Protocol: #Static Preference: 60
*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1)
Vlinkindex: 0
State: <Int ActiveU Static Unicast>
Age: 3:47 Cost: 0/0
**Destination: 169.0.0.0 Mask: 255.254.0.0
Protocol: #Static Preference: 60
*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1)
Vlinkindex: 0
State: <Int ActiveU Static Unicast>
Age: 3:47 Cost: 0/0