Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 1 Static Route Configuration Commands
Huawei Technologies Proprietary
1-8
State: <Int ActiveU Static Unicast>
Age: 3:47 Cost: 0/0
For detailed description of the output information, see Table 1-2.
1.1.4 display ip routing-table ip_address1 ip_address2
Syntax
display ip routing-table ip_address1 mask1 ip_address2 mask2 [ verbose ]
View
Any view
Parameter
ip_address1, ip_address2: Destination IP address in dotted decimal notation.
ip_address1 and ip_address2 determine one address range together to display the
route in this address range. ip_address1 anding with mask1 specifies the start of the
range while ip_address2 anding with mask2 specifies the end.
mask1, mask2: IP address mask, length in dotted decimal notation or integer form. It
ranges from 0 to 32 when it is presented in integer.
verbose: With the verbose parameter, this command displays the verbose information
of both the active and inactive routes. Without the parameter, this command only
displays the summary of active routes.
Description
Using display ip routing-table ip_address1 ip_address2 command, you can view
the route information in the specified address range.
Example
# Display the routing information of destination addresses ranging from 1.1.1.0 to
2.2.2.0.
<Quidway>display ip routing-table 1.1.1.0 24 2.2.2.0 24
Routing tables:
Summary count: 3
Destination/Mask Protocol Pre Cost Nexthop Interface
1.1.1.0/24 DIRECT 0 0 1.1.1.1 Vlan-interface1
1.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT 0 0 2.2.2.1 Vlan-interface2
For detailed description of the output information, see Table 1-1.