Professional Documents
Culture Documents
Cisco Show IP Route Command (Routing Table) - Example and Explanation
Cisco Show IP Route Command (Routing Table) - Example and Explanation
NETWORKS TRAINING
ABOUT
MY BOOKS
SUGGESTED TRAINING
You are here: Home / Cisco Routers / Cisco Show IP Route Command (Routing Table)-Example and Explanation
In this practical tutorial we will discuss the Cisco “show ip route” command which allows a
network engineer to examine the routing table of a router device in a network.
Readers Favorite Posts - Click Here to Che…
The core functionality of Layer 3 in the OSI model (Network Layer) is to forward (route) packets
received on an interface of a routing device to the best destination.
It is the router’s job to select the best path that will deliver a packet to its destination as quickly
and efficiently as possible.
This path selection process depends on the destination IP address of the packet received and
the knowledge that the Router has about reaching that destination.
This Routing Table contains all known destination networks, how they were learned and how to
reach them (outgoing Interface).
The entire process of building this Routing Table relies on the information from neighboring
routers (dynamic routes) or from statically configured entries by the network administrator
(static routes).
This means when a network topology is created, there has to be some kind of configuration for
the devices on that network to communicate with each other.
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 2/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
The two major options are dynamic routing and static routing – these are basically how routers
learn about routes to destination networks.
ABOUT
MY BOOKS
SUGGESTED TRAINING
Dynamic Routing
When dynamic routing is used, a routing protocol has to be configured on the Layer3 devices
on the network, in order for them to share routing information.
Some popular routing protocols supported by Cisco routers include Routing Information
Protocol (RIP), Open Shortest Path First Protocol (OSPF), Interior Gateway Routing Protocol
(IGRP) and Extended Interior Gateway Routing Protocol (EIGRP), among others.
When you opt for the implementation of dynamic routing, note that all routers on the network
must be configured with one or more dynamic routing protocols.
If multiple routing protocols are used, then you have to implement what is known as “route
redistribution”, which allows multiple routing protocols to work together and share routing
information.
Although dynamic routing has the advantage of automatically updating the routing table, it has
a disadvantage of overusing router resources due to its nature of sending periodic updates.
When dynamic routing is used, routing information is automatically learned and added to the
routing table.
Static Routing
Static routing deals with the manual configuration of routes by the administrator. This means
routing information is manually inserted into the routing table.
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 3/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
At this stage, routers on the network will have all the necessary information to forward packets
NETWORKS TRAINING
they receive to the right destination.
The “show ip route” command is one of the most important commands related to routing on
Cisco IOS devices in order to show the routing table of the router.
It gives you detailed information about the networks that are known to the router, either directly
connected to the router, statically configured using static routing or automatically added to the
routing table using dynamic routing protocols.
Let us take a look at the output from a show ip route command to understand how it works
using the example networks depicted below.
We have two example topologies below, one using RIP and another one using EIGRP so that
to see how the routing table looks in both cases:
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 4/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
R2#show ip route
NETWORKS TRAINING
Codes:
ABOUT
MY BOOKS
SUGGESTED TRAINING
C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
* – candidate default, U – per-user static route, o – ODR P – periodic downloaded static route
Gateway of last resort is not set.
The C in the routing table output means that the networks listed are “directly connected”.
These represent the networks of the IP addresses configured on the physical (or virtual)
interfaces of the device.
The R in the routing table shows destination networks learned via RIP dynamic routing
protocol. If we were running OSPF, the entry would show O instead of R.
So, Router R2 is learning about the other networks via RIP routing protocol, which is depicted
as R in the codes as we’ve said above.
For example, network 192.168.3.0/24 has been learned via 192.168.1.1 and can be reached
via Serial0/0/0. This route has been added to the routing table by RIP.Favorite Posts - Click Here to Che…
Readers
As mentioned earlier, the routing table contains ALL the information about routes that are
known to the router.
Administrative Distance
From the routing table above, notice the number [120/1] shown in the RIP route. This is the
default Administrative Distance of RIP which is 120.
In the following network topology the three routers implement EIGRP to dynamically distribute
NETWORKS TRAINING
routing information between each other.
ABOUT
MY BOOKS
SUGGESTED TRAINING
We will not examine how EIGRP is configured but let’s discuss and explain the “show ip route”
output from each router:
R1#show ip route
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 6/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
D 192.168.30.0/24 [90/2174976] via 10.10.10.2, 01:00:09, Serial0/0/0
The routing table of Router R1 shows three networks learnt via EIGRP
ABOUT (denoted
MY BOOKS
as D) and TRAINING
SUGGESTED also
two directly connected routes denoted as C.
For example, destination network 192.168.30.0 is learnt via EIGRP and can be reached via
10.10.10.2 from the Serial0/0/0 interface.
R2#show ip route
The second router in the topology shows three directly connected routes and two dynamic
routes from EIGRP.
Readers Favorite Posts - Click Here to Che…
R3#show ip route
https://www.networkstraining.com/cisco-show-ip-route-command/ 7/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
* – candidate default, U – per-user static route, o – ODR
Administrative Distance
The number [90/2172416] in the EIGRP routes above shows the default administrative
distance of EIGRP which is 90 and the metric value.
show ip route [ospf, rip, eigrp, etc] : shows only routing information learned from the
specified routing protocol (e.g show ip route ospf).
show ip route summary : shows summary information about ALL IP routes in the routing
table.
Let’s see the above commands on the EIGRP network scenario shown above:
https://www.networkstraining.com/cisco-show-ip-route-command/ 8/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
The above displays a summary of all the routes and their source in the routing table.
Known via “eigrp 10“, distance 90, metric 2174976, type internal
If you insert a specific destination network in the command (for example 192.168.30.0 as
shown above) then you will get all details about how this destination network is learned by the
device. In our example above, network 192.168.30.0 is known via EIGRP process 10, from
interface Serial0/0/0.
Related Posts
https://www.networkstraining.com/cisco-show-ip-route-command/ 9/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
We use Elastic Email as our marketing automation service. By submitting this form, you agree that the
information you provide will be transferred to Elastic Email for processing in accordance with their Terms of
Use and Privacy Policy. Also, you allow me to send you informational and marketing emails from time-to-time.
SUBSCRIBE
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
https://www.networkstraining.com/cisco-show-ip-route-command/ 10/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
ABOUT
MY BOOKS
SUGGESTED TRAINING
Name *
Email *
POST COMMENT
This site uses Akismet to reduce spam. Learn how your comment data is processed.
CATEGORIES
Categories
Select Category
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 11/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
ABOUT
MY BOOKS
SUGGESTED TRAINING
We Provide Technical Tutorials and Configuration As an Amazon Associate I earn from qualifying
Examples about TCP/IP Networks with focus on Cisco purchases.
Products and Technologies. This blog entails my own Amazon and the Amazon logo are trademarks of
thoughts and ideas, which may not represent the Amazon.com, Inc. or its affiliates.
thoughts of Cisco Systems Inc. This blog is NOT
affiliated or endorsed by Cisco Systems Inc. All product
SEARCH
names, logos and artwork are copyrights/trademarks of
their respective owners.
Readers Favorite Posts - Click Here to Che…
CCENT ICND1 TRAINING
BLOGROLL
Tech21Century
Firewall.cx
Copyright © 2021 | Privacy Policy | Terms and Conditions | Hire Me | Contact | Amazon Disclaimer | Delivery Policy
https://www.networkstraining.com/cisco-show-ip-route-command/ 12/13
7/9/2021 Cisco Show IP Route Command (Routing Table)-Example and Explanation
NETWORKS TRAINING
ABOUT
MY BOOKS
SUGGESTED TRAINING
Readers Favorite Posts - Click Here to Che…
https://www.networkstraining.com/cisco-show-ip-route-command/ 13/13