Chapter 50
| IP Routing Commands
Global Routing Configuration
– 978 –
show ip host-route This command displays the interface associated with known routes.
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show ip host-route
IP Address MAC Address VLAN Port
--------------- ----------------- ---- -------
192.168.0.99 00-E0-29-94-34-64 1 1/1
192.168.1.250 00-00-30-01-01-01 3 1/ 1
10.2.48.2 00-00-30-01-01-02 1 1/ 1
10.2.5.6 00-00-30-01-01-03 1 1/ 2
10.3.9.1 00-00-30-01-01-04 2 1/ 3
Console#
show ip route This command displays information in the Forwarding Information Base (FIB).
Syntax
show ip route [bgp | connected | database | ospf | rip | static | summary]
bgp – Displays external routes imported from the Border Gateway Protocol
(BGP) into this routing domain.
connected – Displays all currently connected entries.
database – All known routes, including inactive routes.
ospf – Displays external routes imported from the Open Shortest Path First
(OSPF) protocol into this routing domain.
rip – Displays all entries learned through the Routing Information Protocol
(RIP).
static – Displays all static entries.
summary – Displays a brief list of summary information about entries in
the routing table, including the maximum number of entries supported,
the number of connected routes, the total number of routes currently
stored in the routing table, and the number of entries in the FIB.
Command Mode
Privileged Exec
Table 3: show ip host-route - display description
Field Description
IP Address IP address of the destination network, subnetwork, or host.
MAC Address The physical layer address associated with the IP address.
VLAN The VLAN that connects to this IP address.
Port The port that connects to this IP address.