22-22
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 22 Configuring IP Unicast Routing
Configuring IP Addressing
You can display specific statistics, such as the contents of IP routing tables, caches, and databases; the
reachability of nodes; and the routing path that packets are taking through the network.
Table 22-4
lists
the privileged EXEC commands for displaying IP statistics.
These are examples of outputs of commands used for displaying caches, tables, and databases.
Switch# show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.1.2.3 - 0002.4b29.2e00 ARPA GigabitEthernet0/10
Internet 172.20.136.9 178 0030.19c6.54e1 ARPA Vlan1
Internet 172.20.250.42 207 0030.19c6.54e1 ARPA Vlan1
Internet 120.20.30.1 - 0002.4b29.2e00 ARPA Vlan27
Internet 172.20.139.152 159 0030.19c6.54e1 ARPA Vlan1
Internet 172.20.139.130 24 0030.19c6.54e1 ARPA Vlan1
Internet 172.20.141.225 5 0030.19c6.54e1 ARPA Vlan1
Internet 172.20.135.204 227 0002.4b29.4400 ARPA Vlan1
Internet 172.20.135.202 - 0002.4b29.2e00 ARPA Vlan1
Internet 172.20.135.197 230 0002.4b28.ce80 ARPA Vlan1
Internet 172.20.135.196 214 0002.4b28.ce00 ARPA Vlan1
Internet 172.20.135.193 58 0030.19c6.54e1 ARPA Vlan1
Switch# show hosts
Default domain is a,b,c
Name/address lookup uses static mappings
Host Flags Age Type Address(es)
Switch# show ip aliases
Address Type IP Address Port
Interface 10.1.2.3
Interface 120.20.30.1
Interface 172.20.135.202
Switch# show ip masks
Supernet masks Reference count
255.252.0.0 1
0.0.0.0 1
Table 22-4 Commands to Display Caches, Tables, and Databases
Command
Purpose
show arp
Display the entries in the ARP table.
show hosts
Display the default domain name, style of lookup service, name server hosts,
and the cached list of host names and addresses.
show ip aliases
Display IP addresses mapped to TCP ports (aliases).
show ip arp
Display the IP ARP cache.
show ip interface [interface-id]
Display the IP status of interfaces.
show ip irdp
Display IRDP values.
show ip masks address
Display the masks used for network addresses and the number of subnets
using each mask.
show ip redirects
Display the address of a default gateway.
show ip route [address [mask]] | [protocol]
Display the current state of the routing table.
show ip route summary
Display the current state of the routing table in summary form.