A SERVICE OF

logo

Statistics Commands
79
Layer 3 statistics
The following table describes basic Layer 3 statistics commands. The following sections provide more
detailed information and commands.
Table 54 Layer 3 Statistics commands
Command Usage
show ip counters
Displays IP statistics.
Command mode: All except User EXEC
clear ip counters
Clears IP statistics. Use this command with caution as it deletes all
the IP statistics.
Command mode: All except User EXEC
show ip route counters
Displays route statistics.
Command mode: All except User EXEC
show ip arp counters
Displays Address Resolution Protocol (ARP) statistics.
Command mode: All except User EXEC
show ip dns counters
Displays Domain Name System (DNS) statistics.
Command mode: All except User EXEC
show ip icmp counters
Displays ICMP statistics.
Command mode: All except User EXEC
show ip tcp counters
Displays Transmission Control Protocol (TCP) statistics.
Command mode: All except User EXEC
show ip udp counters
Displays User Datagram Protocol (UDP) statistics. Add the argument,
clear, to clear UDP statistics.
Command mode: All except User EXEC
show ip igmp counters
Displays IGMP statistics.
Command mode: All except User EXEC
show layer3 igmp-groups
Displays the total number of IGMP groups that are
learned/configured on the switch.
Command mode: All except User EXEC
show layer3 ipmc-groups
Displays the total number of current IP multicast groups.
Command mode: All except User EXEC
clear ip igmp [<1-4094>] counters
Clears all IGMP statistics for the selected VLANs.
Command mode: All above Priv EXEC
show ip ospf counters
Displays OSPF statistics.
Command mode: All above Priv EXEC
clear ip ospf counters
Clears all OSPF statistics.
Command mode: All above Priv EXEC
show ip vrrp counters
When virtual routers are configured, you can display VRRP statistics:
Command mode: All above Priv EXEC
clear ip vrrp counters
Clears VRRP statistics.
Command mode: All above Priv EXEC