background image
632
Appendix B
Configuring the Catalyst 1900 Switch
neighbor routers will be kept for 180 seconds. If the router or switch does
not hear from the neighbor again before the holdtime expires, the infor-
mation will be discarded.
The 1900 switch has an option to advertise CDP version 2, which is a newer
version of CDP running on some new Cisco devices. The 1900 switch can send
both version CDP 1 and 2 and receive version 1 of CDP. CDP version 2 is not
discussed in this appendix.
You can change the timers on both devices with the cdp timer and cdp
holdtime
commands from global configuration mode:
switch#config t
Enter configuration commands, one per line. End with CNTL/Z
switch(config)#cdp ?
advertise-v2 CDP sends version-2 advertisements
holdtime Specify the holdtime (in sec) to be sent
in packets
timer Specify the rate at which CDP packets are
sent (in sec)
At this point, you can change the timer and holdtime on the 1900 switch,
as follows:
switch(config)#cdp timer 90
switch(config)#cdp holdtime 240
Summary
T
his appendix introduced you to the Catalyst 1900 switch. You also
learned how to do the following:
Set the passwords. Three passwords were discussed: two enable pass-
words and the enable secret password.
Set the hostname and configure a name for the switch.
Configure the IP address and subnet mask.
Identify the interfaces with either a show interface or a
configuration
command.
Set a description on the interfaces by using the description command.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com