Chapter 26
| IP Routing Commands
Global Routing Configuration
– 575 –
show ip route
This command displays information in the Forwarding Information Base (FIB).
Syntax
show ip route
[
connected
|
database
|
static
|
summary
]
connected
– Displays all currently connected entries.
database
– All known routes, including inactive routes.
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
Command Usage
◆
The FIB contains information required to forward IP traffic. It contains the
interface identifier and next hop information for each reachable destination
network prefix based on the IP routing table. When routing or topology
changes occur in the network, the routing table is updated, and those changes
are immediately reflected in the FIB.
The FIB is distinct from the routing table (or, Routing Information Base), which
holds all routing information received from routing peers. The forwarding
information base contains unique paths only. It does not contain any secondary
paths. A FIB entry consists of the minimum amount of information necessary to
make a forwarding decision on a particular packet. The typical components
within a forwarding information base entry are a network prefix, a router port
identifier, and next hop information.
◆
This command only displays routes which are currently accessible for
forwarding. The router must be able to directly reach the next hop, so the VLAN
interface associated with any dynamic or static route entry must be up. Note
that routes currently not accessible for forwarding, may still be displayed by
using the
show ip route database
command.
Example
Console#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
C 127.0.0.0/8 is directly connected, lo
C 192.168.1.0/24 is directly connected, VLAN1
Console#
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...