
IP Commands
OmniSwitch 6250 CLI Reference Guide
November 2009
page 29-93
show ip router database
Displays a list of all routes (static and dynamic) that exist in the IP router database. This database serves as
a central repository where routes are first processed for redistribution and where duplicate routes are
compared to determine the best route to use. If a route does not appear in the IP router database list, then
the switch does not know about it. In the case of dynamically learned routes, this could indicate that the
route was never received by the switch.
show ip router database [protocol type | gateway ip_address | dest {ip_address/prefixLen | ip_address}]
Syntax Definitions
type
Routing protocol type (local, static, or RIP).
ip_address
Destination IP address.
ip_address/prefixLen
The destination IP address along with the prefix length of the routes
processed for redistribution.
Defaults
By default, all routes are displayed.
Platforms Supported
OmniSwitch 6250
Usage Guidelines
•
Command options are not mutually exclusive. You can use them on the same command line to narrow
and/or customize the output display of this command. For example, use the
protocol
and
dest
options
to display only those routes that are of a specific protocol type and have the specified destination
network.
•
The IP forwarding table is derived from IP router database processing performed by the switch and
contains only unique routes that the switch currently uses. Use the
show ip route
command to view the
forwarding table.
•
If an expected route does not appear in the IP forwarding table, use the
show ip router database
command to see if the switch knows about the route and/or if a duplicate route with a higher prece-
dence was selected instead.
•
The switch compares the protocol of duplicate routes to determine which one to use. Regardless of
whether or not a route has a higher priority metric value, protocol determines precedence. Local routes
are given the highest level of precedence followed by static, then RIP routes. As a result, a route that is
known to the switch may not appear in the IP forwarding table if a duplicate route with a higher proto-
col precedence exists.
•
A list of inactive static routes is also included in the
show ip router database
output display. A route
becomes inactive if the interface for its gateway goes down. Inactive routes are unable to get to their
destination and further investigation is warranted to determine why their gateway is unavailable.
•
Static routes that appear as inactive are not included in the main IP router database listing. If an inac-
tive route becomes active, however, it is removed from the inactive list and added to the active route
list.
Summary of Contents for OmniSwitch 6250
Page 140: ...Power over Ethernet PoE Commands page 4 18 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 212: ...Session Management Commands page 6 52 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 270: ...File Management Commands page 7 58 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 280: ...Web Management Commands page 8 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 328: ...SNMP Commands page 10 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 338: ...DNS Commands page 11 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 392: ...Link Aggregation Commands page 12 54 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 440: ...802 1Q Commands page 15 8 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 628: ...Loopback Detection Commands page 17 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 768: ...Ethernet Port Commands page 20 96 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 826: ...VLAN Management Commands page 22 26 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 968: ...Ethernet OAM Commands page 25 56 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1014: ...LINK OAM Commands page 26 46 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1036: ...UDLD Commands page 27 22 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1048: ...Port Mapping Commands page 28 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1256: ...IPv6 Commands page 30 90 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1276: ...RDP Commands page 31 20 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1372: ...RIP Commands page 33 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1702: ...QoS Policy Commands page 39 206 OmniSwitch CLI Reference Guide November 2009...
Page 1718: ...Policy Server Commands page 40 16 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 2018: ...Index Index 6 OmniSwitch 6250 CLI Reference Guide November 2009...