User Tools

Site Tools


networking:switch:cisco_switch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
networking:switch:cisco_switch [2013/07/04 12:53]
gcooper created
networking:switch:cisco_switch [2013/10/22 11:30] (current)
gcooper
Line 2: Line 2:
  
 ===== Clear the Configuration ===== ===== Clear the Configuration =====
 +
 +http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml
  
 ==== CatOS ==== ==== CatOS ====
Line 8: Line 10:
   - Enter ''clear config'' all to reset the entire system.   - Enter ''clear config'' all to reset the entire system.
    
-You don't need to reload the switch because processing the command wipes the switch. If you've set a boot option, you need to change that option using the set boot command.+You don't need to reload the switch because processing the command wipes the switch. If you've set a boot option, you need to change that option using the ''set boot'' command.
  
 ==== IOS ==== ==== IOS ====
Line 19: Line 21:
   - Confirm that you want to reload the switch, and your switch configuration is almost clean.   - Confirm that you want to reload the switch, and your switch configuration is almost clean.
  
-It's almost clean, but not quite. Most people forget to clear any VLAN information they've created for their switches. Depending on the hardware version of your switch and the software version of your OS, the command for this varies. For more information, check out Cisco'"Resetting Catalyst Switches to Factory Defaults" documentationwhich walks you through the commands for clearing VLAN information from your switch.+It's almost clean, but not quite. Most people forget to clear any VLAN information they've created for their switches. Depending on the hardware version of your switch and the software version of your OS, the command for this varies. 
 + 
 +<file> 
 +show vlan 
 + 
 +dir flash: 
 + 
 +dir cat4000_flash: 
 + 
 +dir const_nvram: 
 + 
 +delete flash:vlan.dat 
 + 
 +erase cat4000_flash: 
 + 
 +reload 
 +</file> 
 + 
 +===== Upgrade Firmware ===== 
 + 
 +http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a00801347e2.shtml 
 + 
 +http://code.google.com/p/tftpgui/ 
 + 
 +:!: Connect to the switch'serial console port. 
 + 
 +:!: Configure the networking so the switch can communicate to a TFTP server. 
 + 
 +Start by entering EXEC mode: 
 + 
 +<file> 
 +enable 
 +</file> 
 + 
 +Make room for the new firmware imageif necessary: 
 + 
 +<file> 
 +dir bootflash: 
 + 
 +delete bootflash:<old-image-file-name> 
 + 
 +squeeze bootflash: 
 +</file> 
 + 
 +Download the file to the switch: 
 + 
 +<file> 
 +copy tftp: bootflash: 
 + 
 +Address or name of remote host []? <ip-addr-of-tftp-server> 
 +Source filename []? <new-image-file-name>  
 +Destination filename [flash]? <new-image-file-name> 
 +</file> 
 + 
 +==== Configure the Switch to Boot the New Image ==== 
 + 
 +Determine the current boot statement that you want to remove: 
 + 
 +<file> 
 +show bootvar 
 + 
 +show config 
 +</file> 
 + 
 +To remove the ''boot system flash'' statement, enter into ''configuration terminal'' mode: 
 + 
 +<file> 
 +configure terminal 
 + 
 +no boot system flash bootflash:<old-image-file-name> 
 + 
 +<ctrl-z) 
 + 
 +write memory 
 +</file> 
 + 
 +Set the new boot statement: 
 + 
 +<file> 
 +configure terminal 
 + 
 +boot system flash bootflash:<new-image-file-name> 
 + 
 +<ctrl-z) 
 + 
 +write memory 
 +</file> 
 + 
 +Verify and reboot the switch
 + 
 +<file> 
 +show bootvar 
 + 
 +reload 
 +</file> 
 + 
 +Verify the new system image: 
 + 
 +<file> 
 +show version 
 +</file> 
 + 
 +http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml 
 + 
 +Verify this in the output: 
 + 
 +<file> 
 +Configuration register is 0x2102 
 +</file> 
 + 
networking/switch/cisco_switch.1372964028.txt.gz · Last modified: 2013/07/04 12:53 by gcooper