1-6
Parameters
ip-address
:
Destination IP address, in dotted decimal notation.
mask:
Subnet mask, in dotted decimal notation.
mask-length
: Length of a subnet mask, in the range of 0 to 32.
longer-match
: Specifies all the routes that lead to the destination address and match the specified
mask. If you do not specify the
mask
argument, those that match the natural mask are specified.
verbose
: Displays the detailed information of routes.
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:
z
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.
z
display ip routing-table
ip-address
mask
This command only displays the routes exactly matching the specified destination address and mask.
z
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.
z
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.
Examples
# Display the brief information of routes with a natural mask.
<Sysname> display ip routing-table 169.0.0.0
Destination/Mask Protocol
Pre Cost
Nexthop
Interface
169.0.0.0/16
Static
60
0
2.1.1.1
LoopBack1
For descriptions of the above fields, see
Table 1-1
.
# Display the detailed information of routes with a natural mask.
<Sysname> display ip routing-table 169.253.0.0 verbose
Routing Tables:
+ = Active Route, - = Last Active, # = Both
* = Next hop in use
Summary count:1
**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)
State: <Int ActiveU Static Unicast>
Age: 3:47 Cost: 0/0
For descriptions of the above fields, see
Table 1-2
.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...