Viewing, Saving, and Erasing Configurations
227
If you reload or power down and up the router after using the erase startup-config
command, you’ll be offered setup mode because there’s no configuration saved in NVRAM.
You can press Ctrl+C to exit setup mode at any time (the reload command can only be used
from privileged mode).
At this point, you shouldn’t use setup mode to configure your router. So just say no to setup
mode, because it’s there to help people who don’t know how to use the Cash Line Interface
(CLI), and this no longer applies to you. Be strong—you can do it!
Verifying Your Configuration
Obviously, show running-config would be the best way to verify your configuration and
show startup-config would be the best way to verify the configuration that’ll be used the
next time the router is reloaded—right?
Well, once you take a look at the running-config, if all appears well, you can verify your
configuration with utilities such as Ping and Telnet. Ping is Packet Internet Groper, a pro-
gram that uses ICMP echo requests and replies. (ICMP is discussed in Chapter 2, “Internet
Protocols.”) Ping sends a packet to a remote host, and if that host responds, you know
that it’s alive. But you don’t know if it’s alive and also well—just because you can ping a
Microsoft server does not mean you can log in! Even so, Ping is an awesome starting point
for troubleshooting an internetwork.
Did you know that you can ping with different protocols? You can, and you can test this
by typing ping ? at either the router user-mode or privileged-mode prompt:
Router#ping ?
WORD Ping destination address or hostname
appletalk Appletalk echo
clns CLNS echo
decnet DECnet echo
ip IP echo
ipv6 IPv6 echo
ipx Novell/IPX echo
srb srb echo
tag Tag encapsulated IP echo
<cr>
If you want to find a neighbor’s Network layer address, either you need to go to the router
or switch itself or you can type show cdp entry * protocol to get the Network layer
addresses you need for pinging.
Cisco Discovery Protocol (CDP) is covered in Chapter 5.
47020.book Page 227 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales