Specifications

IP Switching Commands
show ip cache
ISW-149
Cisco IOS IP Switching Command Reference
May 2008
show ip cache
To display the routing table cache used to fast switch IP traffic, use the show ip cache command in user
EXEC or privileged EXEC mode.
show ip cache [prefix mask] [type number]
Syntax Description
Command Modes User EXEC
Privileged EXEC
Command History
Usage Guidelines The show ip cache display shows MAC headers up to 92 bytes.
Examples The following is sample output from the show ip cache command:
Router# show ip cache
IP routing cache version 4490, 141 entries, 20772 bytes, 0 hash overflows
Minimum invalidation interval 2 seconds, maximum interval 5 seconds,
quiet interval 3 seconds, threshold 0 requests
Invalidation rate 0 in last 7 seconds, 0 in last 3 seconds
Last full cache invalidation occurred 0:06:31 ago
Prefix/Length Age Interface MAC Header
10.108.1.1/32 0:01:09 Ethernet0/0 AA000400013400000C0357430800
10.108.1.7/32 0:04:32 Ethernet0/0 00000C01281200000C0357430800
10.108.1.12/32 0:02:53 Ethernet0/0 00000C029FD000000C0357430800
10.108.2.13/32 0:06:22 Fddi2/0 00000C05A3E000000C035753AAAA0300
00000800
10.108.2.160/32 0:06:12 Fddi2/0 00000C05A3E000000C035753AAAA0300
00000800
10.108.3.0/24 0:00:21 Ethernet1/2 00000C026BC600000C03574D0800
10.108.4.0/24 0:02:00 Ethernet1/2 00000C026BC600000C03574D0800
10.108.5.0/24 0:00:00 Ethernet1/2 00000C04520800000C03574D0800
10.108.10.15/32 0:05:17 Ethernet0/2 00000C025FF500000C0357450800
10.108.11.7/32 0:04:08 Ethernet1/2 00000C010E3A00000C03574D0800
prefix mask (Optional) Displays only the entries in the cache that match the prefix and
mask combination.
type number (Optional) Displays only the entries in the cache that match the interface type
and number combination.
Release Modification
10.0 This command was introduced.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
in a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.