background image
CDP with the 1900 Switch
631
Notice the TFTP host copied two UDP packets, which are represented by
pound signs (#) in ASCII mode.
You can restore a configuration back to a Catalyst 1900 switch from a
TFTP host by using the following command:
copy tftp://tftp_host_address/config_name nvram
You need to know the filename as well as the IP address of the TFTP host
to run this command, as in this example:
1900B#copy tftp://192.168.0.120/1900en nvram
TFTP successfully downloaded configuration file
The command at the end of the string tells the TFTP host where to copy
the file to--in this case, nvram.
To delete the startup-config file, or what is just called nvram, on the 1900
switch, use the delete nvram command:
1900B#delete nvram
This command resets the switch with factory defaults.
All system parameters will revert to their default
factory settings. All static and dynamic addresses
will be removed.
Reset system with factory defaults, [Y]es or [N]o?yes
This command does not affect the switch too much unless you have
VLANs set. The switch will work fine without a configuration. However,
adding an IP address for management is recommended.
CDP with the 1900 Switch
C
DP works with all Cisco devices, including the Catalyst 1900 switch.
The output on the 1900 switch looks like this:
switch#sh cdp
Global CDP information :
CDP version: 2
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
#
Notice that both the router and the switch have a CDP timer of 60
seconds and a holdtime of 180 seconds. (See Chapter 7 for a refresher on
CDP with Cisco routers.) This means that CDP information received from
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com