Set the vswitch address:
Switch>en Switch#config t Switch(config)#interface VLAN 1 Switch (config-if) # ip add e. e mask Switch(config-if)#^Z Switch>write memory |
Ping host address should be able to ping
View the current system file
Switch#dir Directory of flash:/ -rwx xxx Mar 01 1993 00:15:41 info –rwx xxxxx Dec 10 1999 19:12:29 c2900XL-diag-mz-112.8- SA2 drwx xxxxx Mar 01 1993 00:17:43 html 179 –rwx xxxx Mar 01 1993 00:02:46 config.text 6 -rwx xxxx Jan 01 1970 00:36:10 c2900XL-h-mz-112.8-SA2 230 –rwx xxx Mar 01 1993 00:17:43 info.ver 231 –rwx xxx Jan 01 1970 00:42:00 env_vars |
The c2900XL-h-mz-112.8-SA2 is the system file, the system file name in the switch is similar to it, then use the delete command to delete it
Switch#delete flash:c2900XL-h-mz-112.8-SA2 |
Delete files in the Html directory
Switch#delete flash:/html/*.* Switch#delete flash:/html/Snmp/*.* |
Enter the Enter key to confirm the deletion of each file.
Upload new system files to Flash
Switch#tar /x tftp://tftp_server_ip_address/c2900XL-hs-mz-122.8-SA5.tar flash: Loading/path/file name.tar from server_ip_address(via!) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! extracting advanced.gif (2648 bytes) extracting amber.gif (530 bytes) extracting bar.gif (4156 bytes) extracting cool.gif (530 bytes) extracting daytona.gif (1470 bytes) extracting duplgnd.gif (639 bytes) |
System File name used for startup
Switch #config t Switch(config)#boot system flash:c2900XL-hs-mz-112.8-SA5.bin Switch(config)#^Z |
Reboots the vswitch and does not need to store parameters.
If the c2900XL-hs-mz-112.8-SA5.bin file cannot be found, you can type SET in Switch: state to see the current environment variable, you can modify the variable BOOT
Switch:BOOT=flash:c2900XL-hs-mz-112.8-SA5.bin |
If the switch restarts after the system file is deleted due to abnormal reasons, the xmodem protocol can be used to send the system file to the switch.
Switch:copy xmodem:flash:c2900XL-c3h2s-mz-120.5-XP.bin Begin the Xmodem or Xmodem-1K transfer now 。。。 Switch:flash:c2900XL-c3h2s-mz-120.5-XP.bon |
- Detailed steps for restoring the FLASH of the 2900XL and 2950,350 0XL series switches
- Catalyst 2900XL, 3500XL, 2950, 3550 Family configuration