Show Ip Router Database - Alcatel-Lucent OmniSwitch 6250 Cli Reference Manual

Hide thumbs Also See for OmniSwitch 6250:
Table of Contents

Advertisement

IP Commands

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
ip_address
ip_address/prefixLen
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.
OmniSwitch 6250 CLI Reference Guide
Routing protocol type (local, static, or RIP).
Destination IP address.
The destination IP address along with the prefix length of the routes
processed for redistribution.
November 2009
page 29-93

Advertisement

Table of Contents
loading

Table of Contents