show ip router database
IP Commands
page 10-112
OmniSwitch CLI Reference Guide
March 2011
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, OSPF, RIP, or BGP).
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 10K
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
precedence 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, OSFP, RIP, then BGP routes. As a result, a
route that is known to the switch does not appear in the IP forwarding table if a duplicate route with a
higher protocol 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
inactive route becomes active, however, it is removed from the inactive list and added to the active
route list.
Summary of Contents for 060321-10, Rev. B
Page 1: ...Part No 060321 10 Rev B March 2011 OmniSwitch CLI Reference Guide www alcatel lucent com...
Page 36: ...Technical Support About This Guide page xxxvi OmniSwitch CLI Reference Guide March 2011...
Page 108: ...show udld status port UDLD Commands page 2 22 OmniSwitch CLI Reference Guide March 2011...
Page 142: ...show vlan members VLAN Management Commands page 4 16 OmniSwitch CLI Reference Guide March 2011...
Page 922: ...show ip ospf restart OSPF Commands page 17 88 OmniSwitch CLI Reference Guide March 2011...
Page 968: ...show ipv6 ospf interface OSPFv3 Commands page 18 46 OmniSwitch CLI Reference Guide March 2011...
Page 1414: ...show ip dvmrp tunnel DVMRP Commands page 22 34 OmniSwitch CLI Reference Guide March 2011...
Page 1540: ...show ipv6 pim sgroute PIM Commands page 23 126 OmniSwitch CLI Reference Guide March 2011...
Page 1888: ...show aaa priv hexa AAA Commands page 28 58 OmniSwitch CLI Reference Guide March 2011...
Page 1902: ...show port mapping Port Mapping Commands page 29 14 OmniSwitch CLI Reference Guide March 2011...
Page 1960: ...show sflow poller sFlow Commands page 32 18 OmniSwitch CLI Reference Guide March 2011...
Page 2226: ...ftp File Management Commands page 42 38 OmniSwitch CLI Reference Guide March 2011...
Page 2284: ...show snmp trap config SNMP Commands page 45 32 OmniSwitch CLI Reference Guide March 2011...
Page 2294: ...show dns DNS Commands page 46 10 OmniSwitch CLI Reference Guide March 2011...
Page 2350: ...OmniSwitch CLI Reference Guide March 2011 page 22 DNS Commands...