Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
IP Commands
page 32-100
OmniSwitch CLI Reference Guide
September 2009
show ip route
Displays the IP Forwarding table. 
show ip route [summary]
Syntax Definitions
summary
Displays a summary of routing protocols that appear in the IP Forward-
ing table.
Defaults
By default, all routes are displayed.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• The IP Forwarding table includes static routes as well as all routes learned through routing protocols 
(e.g., RIP, OSPF).
• Use the optional summary keyword to display a list of routing protocols and the number of routes for 
each protocol that appear in the IP Forwarding table.
Examples
-> show ip route
+ = Equal cost multipath routes
* = BFD Enabled
Total 8 routes
Dest Address      Subnet Mask       Gateway Addr      Age       Protocol
------------------+-----------------+-----------------+---------+-----------
  20.20.20.0        255.255.255.0     20.20.20.10       01:56:01  LOCAL
  32.32.32.0        255.255.255.0    *20.20.20.152      00:00:01  NETMGMT
  60.60.60.0        255.255.255.0    *20.20.20.152   
00:01:22  NETMGMT
  70.70.70.0        255.255.255.0     70.70.70.151      00:01:22  LOCAL
  71.71.71.0        255.255.255.0     71.71.71.151      00:01:22  LOCAL
  78.78.78.0        255.255.255.0    *80.80.80.142      00:01:22  NETMGMT
  79.79.79.0        255.255.255.0     79.79.79.151      00:01:23  LOCAL
  127.0.0.1         255.255.255.255   127.0.0.1         01:57:15  LOCAL
-> show ip route summary
  Protocol        Route Count
----------------+--------------
  All                       8
  Local                     5
  Netmgmt                   3
  RIP                       0
  ISIS                      0