zyh3033 发表于 2018-7-19 11:41:44

CISCO_3750升级IOS实例

  CISCO 3750升级IOS实例
  单位有一台CISCO3750,不能支持OSPF,为使他能支持OSPF,需进 行IOS升级,详细步骤如下:
  1、配置计算机与交换机连通 本处将计算机与交换机直连,本地计算机IP地址设为10.1.1.1/31,与交换机1号以太网口相连。 R1#configure terminal R1(config)#interface f
  单位有一台CISCO3750,不能支持OSPF,为使他能支持OSPF,需进 行IOS升级,详细步骤如下:
  1、配置计算机与交换机连通
  本处将计算机与交换机直连,本地计算机IP地址设为10.1.1.1/31,与交换机1号以太网口相连。
  R1#configure terminal
  R1(config)#interface fastEthernet 1/0/1
  R1(config-if)#no switchport
  R1(config-if)#ip address 10.1.1.2 255.255.255.252
  2、架设tftp环境(本次以3CDaemon为例)
  将3CDaemon安装在本地计算机C盘根目录下,运行3CDaemon.EXE并进行相关设置。
  3、查看原IOS版本等信息
  R1#show version
  4、下载新IOS文件
  将新IOS下载保存(文件名为c3750-ipservicesk9-mz.122-50.SE3.bin,文件大小为11.6M),并将该文件拷贝至 tftp指定目录。
  5、查看原IOS文件位置及相关信息
  R1#show boot
  R1#dir
  Directory of flash:/
  2 -rwx         5   Mar 1 1993 02:10:54 +00:00 private-config.text
  3 -rwx      1612   Apr 1 1993 22:19:01 +00:00 vlan11.dat
  4 -rwx         796   Mar 1 1993 06:16:26 +00:00 vlan.dat
  5 drwx         192   Mar 1 1993 00:06:42 +00:00 c3750-ipbase-mz.122-35.SE5
  509 -rwx      3427   Mar 1 1993 02:10:54 +00:00 config.text
  15998976 bytes total (6364160 bytes free)
  R1#cd c3750-ipbase-mz.122-35.SE5(注意文件名区分大小写)
  R1#dir
  Directory of flash:/c3750-ipbase-mz.122-35.SE5/
  6 -rwx   7175078   Mar 1 1993 00:05:41 +00:00 c3750-ipbase-mz.122-35.SE5.bin
  7 drwx      4224   Mar 1 1993 00:06:04 +00:00 html
  508 -rwx         598   Mar 1 1993 00:06:42 +00:00 info
  15998976 bytes total (6364160 bytes free)
  剩余空间不到10M,而新IOS文件超过10M,所以需先将原IOS文件删除以释放FLASH空间。
  删除前先备份原IOS文件。
  R1#copy /c3750-ipbase-mz.122-35.SE5 /c3750-ipbase-mz.122-35.SE5.bin tftp
  Address or name of remote host []? 10.1.1.1
  Destination filename ?
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7176192 bytes copied in *** secs (***bytes/sec)
  R1#delete c3750-ipbase-mz.122-35.SE5.bin
  Delete filename ?
  Delete flash:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin?
  R1#dir
  Directory of flash:/c3750-ipbase-mz.122-35.SE5/
  7 drwx      4224   Mar 1 1993 00:06:04 +00:00 html
  508 -rwx         598   Mar 1 1993 00:06:42 +00:00 info
  15998976 bytes total (13539328 bytes free)
  剩余空间已超过新IOS文件大小,可以进行升级。
  6、将新IOS文件上传至交换机flash(本处拷贝至根目录下)
  R1#copy tftp flash
  Source filename ? /c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin
  Address or name of remote host []? 10.1.1.1
  Destination filename ?
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7175078 bytes copied in 63.770 secs (112515 bytes/sec)
  7、设置启动IOS为新IOS:
  R1(config)#boot system flash:c3750-ipservicesk9-mz.122-50.SE3.bin
  R1(config)#exit
  R1#wr
  Building configuration...
  然后重启后有效
  R1#reload
页: [1]
查看完整版本: CISCO_3750升级IOS实例