Setting up Cisco Switches
neptune[~] telnet 128.227.64.11
Trying 128.227.64.11...
Connected to 128.227.64.11.
Escape character is '^]'.
Cisco Systems Console
Enter password:
5500_2250 enable
Enter password:
5500_2250 (enable) show port 5/12
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
5/12 connected 1 normal a-full a-100 10/100BaseTX
Port Security Secure-Src-Addr Last-Src-Addr Shutdown Trap
----- -------- ----------------- ----------------- -------- --------
5/12 disabled No disabled
Port Broadcast-Limit Broadcast-Drop
-------- --------------- --------------
5/12 - 0
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
5/12 0 0 0 0 0
Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
5/12 0 0 0 0 0 0 0
Last-Time-Cleared
--------------------------
Wed May 6 1998, 08:02:19
To set the port 5/12 to 100 Mbps full duplex on ciscos
5500_2250 (enable) set port speed 5/12 100
5500_2250 (enable) set port duplex 5/12 full
5500_2250 (enable) show port status
will tell the current status of all ports and their connection modes
Writing the configuration files from a 5000/5500 to a server
The CISCO switches use tftp to read software updates and write configurations. To write a configuration dump we need a server running tftp. Use one of our servers that is already running tftp. (Generally we do not have tftp running, neptune is a good choice as a tftp server. Remember to stop running tftp after finishing up the reads and writes)
In order to write the file on the server the file must exist, and be world writable ("touch /tftpboot/5500-2250;chmod a+w /tftpboot/5500-2250"). Now telnet to the switch and type "enable" and the enable password. Next type "write ip.num.of.host 5500-2250", where 5500-2250 is the file that you created with the touch command.
*** Note that the /tftpboot directory is not specified in the write comand ***
Installing a new system image to the supervisor engine on a 5000/5500
First verify the software version you have installed with the command "show version". If the version you have installed is not the one you want then copy hte new version to /tftpboot/ on the server running tftp. Next type "download ip.num.of.host cat5000-sup_3-2-1b.exe" where cat5000-sup... is the image file you would like to install.
It looks like to go to cat5000-sup_4-5-2.bin version, you need to first
upgrade to cat5000-sup_3-2-4.bin and then only the upgrade succeeds. Symptoms
are that the download command hangs in the middle if the version is too
recent for the current version to get to. You need to go to the intermediate
level where you see
2926_2250 (enable) download 128.227.64.7 cat5000_3-2-4.bin
No response from host.
TFTP connection fail(-1).
2926_2250 (enable) download 128.227.64.7 cat5000-sup_3-2-4.bin
Download image cat5000-sup_3-2-4.bin from 128.227.64.7 to Module 1 FLASH (y/n) [n]? y
-
Finished network single module download. (2040744 bytes)
FLASH on Catalyst:
Type Address Location
Intel 28F016 20000000 NMP (P3) 8MB SIM
Erasing flash sector...done.
Programming flash sector...done.
Erasing flash sector...done.
Programming flash sector...done.
Erasing flash sector...done.
Programming flash sector...done.
The system needs to be reset to run the new image.
2926_2250 (enable) reset
the flash programming and then do a reset before you do the next download.
*** Note that the /tftpboot directory is not specified in the download comand ***
The catalyst 1900 10BT switches have a different interface. Here is the display of port "A" (the fiber uplink) on one of our switches:
Catalyst 1900 - Port A Configuration
Built-in 100Base-FX
802.1d STP State: Forwarding Forward Transitions: 1
--------------------Settings------------------
[D] Description/name of port To 2250
[S] Status of port Enabled
[F] Full duplex Enabled
[I] Port priority (spanning tree) 128 (80 hex)
[C] Path cost (spanning tree) 10
[H] Port fast mode (spanning tree) Disabled
The catalyst 2924 switches need to be configured using telnet.
There is an extensive set of instuctions to do this on the cisco
web site after you login with the cco username and password. A
paper copy is printed out and filed in cisco folder in Chandra's
office. Basically you need to telnet to the box delete some
old directories that contain the html documents, rename the old software
image to the newone to save space and then use copy commands to
get the files from tftp server.
|