Huawei Quidway S2000 Series Command Manual page 39

Table of Contents

Advertisement

Command Manual - Getting Started
Quidway S2000 Series Ethernet Switches
This command only displays the route fully matching with specified destination
address and mask.
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
169.0.0.0/16
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
169.0.0.0/8
# 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
Summary count:2
**Destination: 169.0.0.0
Protocol: #Static
*NextHop: 2.1.1.1
Vlinkindex: 0
State: <Int ActiveU Static Unicast>
Age: 3:47
**Destination: 169.0.0.0
Protocol: #Static
*NextHop: 2.1.1.1
Vlinkindex: 0
State: <Int ActiveU Static Unicast>
Age: 3:47
Proto
Pre Cost
Static
60
0
Proto
Pre
Static
60
Mask: 255.0.0.0
Preference: 60
Interface: 2.1.1.1(LoopBack1)
Cost: 0/0
Mask: 255.254.0.0
Preference: 60
Interface: 2.1.1.1(LoopBack1)
Cost: 0/0
2-6
Chapter 2 System IP Configuration Commands
Nexthop
Interface
2.1.1.1
LoopBack1
Cost
Nexthop
0
2.1.1.1
* = Next hop in use
Interface
LoopBack1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents