cisco — Monitoring and Maintaining the IP Network

Monitoring and Maintaining IP Addressing When the contents of a particular cache, table, or database have become or are suspected to be invalid, you can remove all its contents by using the clear privileged EXEC commands. The Table lists the commands for clearing contents. Table 2: Commands to Clear Caches, Tables, and Databases Purpose Command Clears the IP ARP cache and the fast-switching cache. clear arp-cache Removes one or all entries from the hostname and the address cac clear host { name | * } Removes one or more routes from the IP routing table.

clear ip route { network [ mask ] | * } 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. The Table lists the privileged EXEC commands for displaying IP statistics. Table 3: Commands to Display Caches, Tables, and Databases Purpose Command Displays the entries in the ARP table. show arp Displays the default domain name, style of lookup service, name server the cached list of hostnames and addresses. show hosts Displays IP addresses mapped to TCP ports (aliases). show ip aliases Displays the IP ARP cache.

show ip arp Displays the IP status of interfaces. show ip interface [ interface-id ] Displays IRDP values. show ip irdp Displays the masks used for network addresses and the number of subn each mask. show ip masks address Displays the address of a default gateway. show ip redirects Displays the current state of the routing table. show ip route [ address [ mask ]] | [ protocol ] Displays the current state of the routing table in summary form. show ip route summary Monitoring and Maintaining the IP Network You can remove all contents of a particular cache, table, or database. You can also display specific statistics.

Configuring IP Unicast Routing Monitoring and Maintaining IP Addressing Configuring IP Unicast Routing 30