Fujitsu P3NK-4452-01ENZD Computer Hardware User Manual


 
XG Series User's Guide Chapter 5 Command Reference
Routing Table Entry Display Commands
434
5.26.1.3 show ip route kernel
Function Display the routing table of the IP kernel.
Available Model XG0224 / XG0448 / XG2600
Syntax show ip route kernel
show ip route kernel longest-match <ip_address>
show ip route kernel summary
Options
N/A
Display the current entries on the routing table of the IP kernel.
longest-match <ip_address>
Display the entries that match the specified address on the routing table of IP kernel by
longest match.
summary
Display the number of entries (the summary) on the routing table of the IP kernel.
Use Mode Operation mode (user class/admin class)
Configuration mode (admin class)
Explanation Display the current status of IP kernel's routing table.
Execution Example
1) Destination/Masklen
The destination network address and the mask value are displayed.
If routed via the host, no mask value is displayed.
Gateway : The gateway address is displayed.
The direct route indicates the MAC address of the gateway. If the
gateway address is not resolved, link#x is shown (where, x is an
interface index number that the system automatically assigns to
each interface).
# show ip route kernel
Routing Tables for Internet
Destination/Masklen Gateway Flag Interface ---(1)
------------------- ----------------- ------ ---------
10.0.0.0/8 192.168.1.5 UGS lan0
127.0.0.1 127.0.0.1 UH lo0
192.168.1.0/24 link#1 U lan0
192.168.1.5 link#1 UH lan0
192.168.1.11 00:a0:c9:d8:90:4e UH lan0
224.0.0.0/4 127.0.0.1 UG lo0
Entry:6 ---(2)
# show ip route kernel longest-match 10.0.0.1
Routing Tables for Internet
Destination/Masklen Gateway Flag Interface
------------------- ----------------- ------ ---------
10.0.0.0/8 192.168.1.5 UGS lan0
Entry:1
# show ip route kernel longest-match 20.0.0.1
Routing Tables for Internet
Destination/Masklen Gateway Flag Interface
------------------- ----------------- ------ ---------
Entry:0
# show ip route kernel summary
Entry:6
#