Configuring IP Addressing

Monitoring and Maintaining IP Addressing

To specify the format in which netmasks appear for the current session, use the following command in EXEC mode:

Command

Purpose

 

 

Router# term ip netmask-format {bitcount decimal

Specifies the format of network masks for the current session.

hexadecimal}

 

 

 

To configure the format in which netmasks appear for an individual line, use the following command in line configuration mode:

Command

Purpose

 

 

Router(config-line)#ip netmask-format {bitcount

Configures the format of network masks for a line.

decimal hexadecimal}

 

 

 

Displaying System and Network Statistics

You can display specific statistics such as the contents of IP routing tables, caches, and databases. The resulting information can be used to determine resource utilization and to solve network problems. You also can display information about node reachability and discover the routing path that the packets of your device are taking through the network.

These tasks are summarized in the table that follows. See the “IP Addressing Commands” chapter in the Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and Services publication for details about the commands listed in these tasks. Use the following commands in privileged EXEC mode to display specific statistics, as needed:

Command

Purpose

 

 

Router# show arp

Displays the entries in the ARP table.

 

 

Router# show hosts

Displays the default domain name, style of lookup service, the

 

 

 

name server hosts, and the cached list of host names and

 

 

 

addresses.

 

 

Router# show ip aliases

Displays IP addresses mapped to TCP ports (aliases).

 

 

Router# show ip arp

Displays the IP ARP cache.

 

 

Router# show ip interface [type number]

Displays the usability status of interfaces.

 

 

Router# show ip irdp

Displays IRDP values.

 

 

Router# show ip masks address

Displays the masks used for network addresses and the number

 

 

 

of subnets using each mask.

 

 

Router# show ip redirects

Displays the address of a default gateway.

 

 

Router# show ip route [address [mask]

Displays the current state of the routing table.

[longer-prefixes]] [protocol [process-id]]

 

 

 

Router# show ip route summary

Displays the current state of the routing table in summary form.

 

 

Router# ping [protocol] {host address}

Tests network node reachability (privileged mode).

 

 

Router# ping [protocol] {host address}

Tests network node reachability using a simple ping facility

 

 

 

(user mode).

 

 

 

 

 

 

Cisco IOS IP Configuration Guide

 

 

 

 

 

 

 

 

IPC-48

Page 94
Image 94
Cisco Systems 78-11741-02 manual Displaying System and Network Statistics, IPC-48