Cisco交换机下载IOS

(1)查看flash IOS版本及大小
SW1#dir flash:
Directory of flash:/

2  -rwx        1048   Mar 1 1993 00:27:08 +00:00  multiple-fs
3  -rwx         369   Mar 1 1993 00:02:11 +00:00  express_setup.debug
4  -rwx           5   Mar 1 1993 00:27:08 +00:00  private-config.text
5  drwx         128  Aug 11 2012 03:08:33 +00:00  c3750-ipservices-mz.122-35.SE5
6  -rwx    11523641  Aug 11 2012 03:11:43 +00:00  c3750-ipservices-mz.122-50.SE5.bin

509 -rwx 5 Mar 1 1993 00:03:02 +00:00 private-config.text.renamed
511 -rwx 2381 Mar 1 1993 00:27:08 +00:00 config.text

15998976 bytes total (2016768 bytes free) //已用15M,可用2M
(2)配置交换机管理接口IP地址,测试本地主机到交换机的连通性,
同时关闭操作系统的防火墙。
SW1(config)#int vlan 1 //配置交换机管理地址
SW1(config-if)#ip add 10.1.1.1 255.255.255.0
SW1(config-if)#no shut

SW1#ping 10.1.1.100 //ping 主机地址

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/8 ms
(3)打开3CDaemon软件,设置tftp服务器及上传/下载的目录文件夹。
(4)交换机上通过命令下载IOS。
SW1#copy flash: tftp: //表示从flash 到tftp服务器
Source filename []? c3750-ipservices-mz.122-50.SE5.bin //源文件名
Address or name of remote host []? 10.1.1.100 //tftp server地址
Destination filename [c3750-ipservices-mz.122-50.SE5.bin]? //目的文件名
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11523641 bytes copied in 37.690 secs (305748 bytes/sec)

猜你喜欢

转载自blog.51cto.com/3965485/2176048