升级cisco 3750G的IOS支持高级路由与ssh功能

简介:

      为了能让 cisco 交换的远程连接对于账号密码的安全性有所提高,可以用 ssh 方式连接终端,但是很多出厂的交换机默认的 ios 是不支持 ssh 这个功能的,为了能让 cisco 交换机支持 ssh ,必须升级带“ K9 ”的 IOS. 下面是出厂 cisco 3750G-24TS 默认 ios 的截图

 
3750 交换机支持 SSH 需要 12.1 11 EA1 以上版本软件。
 
emi是增强型多层镜像,也就是对路由协议的支持更全;而smi是标准多层镜像。
特性集共有三种: IP BASE IP Services Advanced IP Services
  • IP BASE:支持第2层转发和基本的第3层路由,包括EIGRP stub模式。
  • IP Services:包括IP BASE特性集,支持高级第3层路由,如OSPF和组播路由。
  • Advanced IP Services:包括IP Services,支持IPv6功能。
解决方案步骤:  
1.     cisco 官网下载 ios
2.     升级 ios
3.     配置交换机支持 ssh
 
从cisco官网下载ios
打开cisco官网
  
也可以直接打开以下链接:
http://tools.cisco.com/support/downloads/go/Redirect.x?mdfid=282504484
会跳出登录界面
 
 
未注册的用户根据注册信息填写就行,但有一点就是邮箱一定要填写正确,因为注册后会发一份邮件到您的邮箱去激活才可以使用
 

 
接下来登录进去,选择后缀带 SE 版本就会自动链接其他页面去了
 

跳转下一个页面如下,选择要找交换机型号
 

跳转下一个页面如下,点解下载软件
 

跳转下一个页面如下,选择最新版本下载。但根据经验的话,最好选择最新版本后退一两个版本。这里我们选择最新 IOS 版本,并下载带“ K9 ”字符的 ios
……………………………………………………省略
 

跳转下一个页面如下
 

跳转下一个页面如下

这样 c3750-ipbasek9-mz.122-53.SE3.bin 就下载来。后来发现!由于在应用中,  cisco 3750G 需支持其他一些路由协议。所以我这里就以 c3750-ipservicesk9-mz.122-50.SE3.bin 为升级版本 IOS
 
提供一个非官网下载链接:
11.6 MB 大小
 
CISCO Server TFTP 下载地址:
 
这里以CISCO Server TFTP升级方式,如下图
 

 

拷贝 c3750-ipservicesk9-mz.122-50.SE3.bin
到TFTP目录下面
 
 
升级ios
 
3750G(config)#interface vlan 1
3750G(config-if)#ip add
3750G(config-if)#ip address 192.168.100.2 255.255.255.0
3750G(config-if)#end
3750G#ping 192.168.100.1
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
3750G#dir
Directory of flash:/
 
    3 -rwx        1754   Feb 5 2010 16:40:45 +00:00 config.text
    4 -rwx           5   Feb 5 2010 16:40:45 +00:00 private-config.text
    7 drwx         192   Mar 1 1993 00:07:31 +00:00 c3750-ipbase-mz.122-35.SE5
 
32514048 bytes total (22883840 bytes free)
 
3750G#delete/force( 不再询问确认 ) /recursive( 删除目录下的子目录和文件 ) c3750-ipbase-mz.122-35.SE5
 
3750G#copy tftp flash     (从tftp下载ios)
Address or name of remote host  192.168.100.1 输入tftp地址
Source filename  c3750-ipservicesk9-mz.122-50.SE3.bin   ios名称
Destination filename [c3750-ipservicesk9-mz.122-50.SE3.bin] 回车
Accessing tftp://192.168.100.1/c3750-ipservicesk9-mz.122-50.SE3.bin...
Loading c3750-ipservicesk9-mz.122-50.SE3.bin from 192.168.100.1 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 12239852 bytes]
 
3750G#conf t
Enter configuration commands, one per line. End with CNTL/Z.
3750G(config)#boot system flash:c3750-ipservicesk9-mz.122-50.SE3.bin
设置启动c3750-ipservicesk9-mz.122-50.SE3.bin为新IOS
3750G(config)#exit
3750G#wr
*Mar 1 03:59:40: %SYS-5-CONFIG_I: Configured from console by consoler
Building configuration...
[OK]
 
3750G#reload 
Proceed with reload? [confirm]  回车
 
*Mar 1 03:59:51: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
Base ethernet MAC Address: 3c:df:1e:c4:a1:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 501 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 21870080
flashfs[0]: Bytes available: 10643968
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-ipservicesk9-mz.122-
50.SE3.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:c3750-ipservicesk9-mz.122-50.SE3.bin" uncompressed and installed, entry point: 0x1000000
executing...
 
              Restricted Rights Legend
 
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
 
           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706
 
 
 
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(50)SE3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 22-Jul-09 06:19 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02D00000
 
Initializing flashfs...
 
flashfs[1]: 501 files, 7 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 32514048
flashfs[1]: Bytes used: 21870080
flashfs[1]: Bytes available: 10643968
flashfs[1]: flashfs fsck took 2 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
 
Checking for Bootloader upgrade.. upgrading.. writing boot sectors..done.
The system will now restart
Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 3c:df:1e:c4:a1:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
 
………………………………………………………………. 中间省略
 
 
Switch Ports Model           SW Version        SW Image                
------ ----- -----             ----------            ----------              
*    1 28 WS-C3750G-24TS-1U   12.2(50)SE3    C3750-IPSERVICESK9-M
说明升级成功了
Press RETURN to get started!
配置交换机支持ssh
 
3750G(config)# enable secret viong
 
3750G(config)#username viong password 123456
 
3750G(config)# line vty 0 4
3750G(config-line)#login local
3750G(config-line)#transport input ssh
设置让 cisco 交换机支持 SSH 连接
 
 
也许就那么几个步骤!有点画蛇添足写这么多。请别嫌弃我
但为了规范点,还是辛苦点整理出来。





    本文转自viong 51CTO博客,原文链接:http://blog.51cto.com/viong/282327,如需转载请自行联系原作者

相关文章
|
7月前
|
设计模式 测试技术 iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(1)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(1)
229 0
|
7月前
|
设计模式 搜索推荐 iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(7)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(7)
502 1
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(7)
|
7月前
|
iOS开发 Perl
iOS Cocoapods 升级
iOS Cocoapods 升级
56 0
|
7月前
|
设计模式 API iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(2)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(2)
268 0
|
7月前
|
设计模式 API iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(3)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(3)
406 0
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(3)
|
7月前
|
设计模式 iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(6)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(6)
247 0
|
2月前
|
移动开发 开发工具 数据安全/隐私保护
iOS APP 版本更新升级教程:如何打包上架新的 APP 版本?
iOS APP 版本更新升级教程:如何打包上架新的 APP 版本?
iOS APP 版本更新升级教程:如何打包上架新的 APP 版本?
|
6月前
|
安全 Go 数据安全/隐私保护
免费升级到 iOS 17 Developer Beta:官方Apple Store升级方案与爱思助手方法比较
免费升级到 iOS 17 Developer Beta:官方Apple Store升级方案与爱思助手方法比较
214 0
|
7月前
|
设计模式 iOS开发 UED
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(4)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(4)
247 0
|
7月前
|
设计模式 iOS开发
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(5)
带你读《2022技术人的百宝黑皮书》——淘宝iOS扫一扫架构升级 - 设计模式的应用(5)
241 0