display ip routing-table ip-address1 ip-address2
Syntax
display ip routing-table ip-address1 { mask1 | mask-length1 } ip-address2 { mask2 | mask-length2 }
[ verbose ]
View
Any view
Parameters
ip-address1, ip-address2: Destination IP address in dotted decimal notation. ip-address1 {mask1 |
mask-length1} and ip-address2 {mask2 | mask-length2} determine one address range together.
ip-address1 ANDed with {mask1 | mask-length1} specifies the start of the range, while ip-address2
ANDed with {mask2 | mask-length2} specifies the end. This command displays the route in this address
range.
mask1, mask2: Subnet mask, in dotted decimal notation.
mask-length1, mask-length2: Mask length, in the ranges of 0 to 32.
verbose: With the verbose argument provided, this command displays the verbose information of both
active and inactive routes. Without this argument provided, this command displays the summary of
active routes only.
Description
Use the display ip routing-table ip-address1 ip-address2 command to display the route information in
the specified destination address range.
Examples
# Display the routing information of destination addresses ranging from 1.1.1.0 to 2.2.2.0.
<Sysname>display ip routing-table 1.1.1.0 24 2.2.2.0 24
Routing tables:
Summary count: 3
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
For descriptions of the above fields, see
display ip routing-table ip-prefix
Syntax
display ip routing-table ip-prefix ip-prefix-name [ verbose ]
View
Any view
Parameters
ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.
Protocol
Pre Cost
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
Table
Nexthop
Interface
1.1.1.1
127.0.0.1
InLoopBack0
2.2.2.1
1-1.
1-7
Vlan-interface1
Vlan-interface2
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers