background image
IP Configuration 273
Collectively, Figure 5-27 and Example 5-2, Example 5-3, and Example 5-4 show three sites,
each with two serial links and one Ethernet. The following site guidelines were used when
choosing configuration details:
·
Use name servers at 10.1.1.100 and 10.1.2.100.
·
Use host names from Figure 5-27.
·
The router's IP addresses are to be assigned from the last few valid IP addresses in their
attached subnets; use a mask of 255.255.255.0.
Table 5-28
IP EXEC Commands
Command
Function
show hosts
Lists all hostnames and corresponding IP
addresses
show interfaces [type number]
Lists interface statistics, including IP address
show ip interface [type number]
Provides a detailed view of IP parameter settings,
per interface
show ip interface brief
Provides a summary of all interfaces and their IP
addresses
show ip route [subnet]
Shows entire routing table, or one entry if subnet
is entered
show ip arp
Displays IP ARP cache
debug ip packet
Issues log messages for each IP packet
terminal ip netmask-format {bitcount |
decimal
| hexadecimal}
Sets type of display for subnet masks in show
commands
ping
Sends and receives ICMP echo messages to verify
connectivity
trace
Sends series of UDP packets with increasing TTL
values, to verify the current route to a host
ch05.fm Page 273 Monday, March 20, 2000 5:06 PM