Unlock Best Pricing with In-stock, Ready-to-Ship Products

To brandish the current state of the routing table, utilize the show ip route command in user EXEC or privileged EXEC style.

The show ip route command is a powerful tool to use at this bespeak in your search. Y'all can straight examine the routing table to determine if an entry for the host exists.

The output of bear witness ip route displays the entries in the routing table, every bit well as the means past which they were determined (directly continued network, static route, or which routing protocol was used to select the route).

It also displays the Gateway of terminal resort, sometimes chosen the default Gateway, if i is configured. This is a static route configured by the user that routes IP accost 0.0.0.0. (all destinations) through a unmarried host (the Gateway) . The effect of setting a gateway is that if no routing table entry exists for a destination address, packets destined for that address will be forwarded to the Gateway router.

In the current network testing example, if you found a bespeak in the network where the path to the host breaks down, y'all would want to Telnet to the last reachable device. There you could cheque its routing table and meet if a route to the destination is nowadays.

router show ip route command

Table: prove ip route Field Descriptions

Field Description
Col. A Indicates the protocol that derived the route. It can exist one of the following values:
  • R—Routing Information Protocol (RIP) derived
  • O—Open Shortest Path First (OSPF) derived
  • C—connected
  • S—static
  • B—Border Gateway Protocol (BGP) derived
  • D—Enhanced Interior Gateway Routing Protocol (EIGRP)
  • EX—EIGRP external
  • i—IS-IS derived
  • ia—IS-IS
  • M—mobile
  • P—periodic downloaded static route
  • U—per-user static route
  • o—on-demand routing
Col. B Type of route. It can be one of the following values:
  • *—Indicates the terminal path used when a packet was forwarded. It pertains only to the non-fast-switched packets. However, it does not indicate which path will be used side by side when forwarding a not-fast-switched bundle, except when the paths are equal cost.
  • IA—OSPF interarea route
  • E1—OSPF external type 1 route
  • E2—OSPF external type 2 route
  • L1—IS-IS Level 1 route
  • L2—IS-IS Level 2 route
  • N1—OSPF not-so-stubby area (NSSA) external type 1 route
  • N2—OSPF NSSA external blazon 2 route
Col. C Indicates the address of the remote network.
Col. D The first number in the brackets is the administrative distance of the information source; the second number is the metric for the route.
Col. E Specifies the address of the adjacent router to the remote network.
Col. F Specifies the last time the route was updated (in hours:minutes:seconds).
Col. G Specifies the interface through which the specified network can be reached.

More than Related Cisco IOS Command Reviews:

Show memory Command

Prove module command

Prove controllers control

Prove interfaces

Bear witness running-config

Cisco Testify Version Control

Peak 10 Commands Every Cisco IOS User Should Know

Configure logging in Cisco IOS