在Cisco831路由器上安装SDM,代替CRWS

什么是SDM
SDM is an easy-to-use, browser-based software tool designed for configuring LAN, WAN, and security features on a router.
SDM自2003年6月起预装在所有支持的路由器上。
自2004年9月27日起,Cisco 83x系列路由器出售时要么安装SDM(在flash),要么安装CRWS(在web flash),取决于购买时的情况。
如果2者都与装了,不可同时使用,只有一个是活动的可用的。

如果你的路由器没有SDM,需要单独安装。
检查CRWS是否安装
Router# show webflash:

If a valid CRWS image is present, you will see output resembling the following:

webflash directory:
File  Length   Name/status
  1   986      ConfigExp.cfg
  2   725005   CRWS_1.jar
  3   341151   CRWS_2.jar
  4   45924    GUI.html
  5   4572     home.html
  6   8082     loading.gif
  7   3463     VPNLogin.html
  8   61400    CRWS_VPNLogin.jar
  9   285708   CRWSbHlp.html
[1476876 bytes used, 358132 available, 1835008 total]
2048K bytes of processor board Web flash (Read/Write)
On Cisco 836 and 837 routers, the file IPCPSubnet.cfg will also appear in the show webflash: output if CRWS is installed on the router.

检查SDM是否安装
Router# show flash:
If a valid SDM image is present, you will see output resembling the following:

System flash directory:
File  Length   Name/status
  1   5148536  c831-k9o3y6-mz.122-13.ZH1.bin
  2   14617    sdm.shtml
  3   669      sdmconfig-83x.cfg
  4   2290688  sdm.tar
  5   14617    sdm.shtml.hide
  6   1446     home.html
  7   214016   home.tar
  8   1446     home.html.hide
[7686035 bytes used, 17434224 available, 24903680 total]
24576K bytes of processor board System flash (Read/Write)


安装前提:
1.查看SDM支持的路由器:支持Cisco 831, 836, and 837
2。查看安装SDM需要的ISO版本:需要12.2(13)ZH 以上
3。PC的要求
a.OS支持
• Windows NT 4.0 workstation with Service Pack 4
• Windows 98 (second edition)
• Windows 2000
• Windows ME
• Windows XP
b.浏览器支持
• Netscape version 4.79 with Java support or with Java plug-in JRE version 1.3.1 or later
• Internet Explorer version 5.5 or later with Java support or with Java plug-in JRE version 1.3.1 or
later

4。下载SDM
http://www.cisco.com/cgi-bin/tablebuild.pl/sdm
5.解压sdm-vnn.zip出文件 sdm.tar, sdm.shtml, 和几个sdmconfig-xxxx.cfg 文件到 TFTP服务器根目录。
6。拷贝 TFTP服务器上的SDM 文件到路由器Flash memory, 使用以下CLI 命令:
Router# copy tftp://<tftp server IP address>/sdm.tar flash:
Router# copy tftp://<tftp server IP address>/sdm.shtml flash:
Router# copy flash:sdm.shtml nvram:sdm.shtml
Router# copy nvram:sdm.shtml flash:home.html
Router# copy nvram:sdm.shtml flash:sdm.shtml.hide
Router# delete nvram:sdm.shtml


7。When prompted do NOT erase the Flash memory.
8。如果想使用sdm-vnn.zip中的缺省配置文件。可以如下操作:    
Router# copy tftp://<tftp server IP address>/sdmconfig-83x.cfg flash:
Router# copy flash:sdmconfig-83x.cfg start
When prompted do NOT erase the Flash memory.此时SDM已经装好。





9。如果不是用sdm-vnn.zip中的缺省配置文件。可以修改现有配置文件:
Before installing SDM onto your router, access the CLI using Telnet or the console connection to modify
the existing configuration file on your router. SDM requires that the following commands are present in
your router configuration file:
• The router HTTP/HTTPS server must be enabled, using the following Cisco IOS commands:
ip http server
ip http secure-server
ip http authentication local
• SDM requires a user account defined with privilege level 15 (enable privileges):
username sdm privilege 15 password 0 sdm
Note For security purposes, the user account defined should be different than the default one used
in the example above.
• SSH/Telnet must be configured for local login and privilege level 15:
line vty 0 4
privilege level 15
login local
transport input telnet
transport input telnet ssh
• Local logging should (optionally) be enabled to support the log monitoring function:
logging buffered 51200 warning
如果你使用现有配置文件,SDM不会在首次运行的时候显示开始向导,它假定你已经作了基本网络配置。
10。启动SDM

SDM存储在路由器Flash内存中,被一个HTML文件调用,该HTML文件会加载签名过的SDM Java文件。按以下步骤运行SDM:
Step 1 打开浏览器 Step 2 输入以下(URL):
https://<router IP address>/flash/sdm.shtml
https://... specifies that the Secure Socket Layer (SSL) protocol be used for a secure connection.
http://... can be used if SSL is not available.
The SDM launch screen will appear in the browser window.
The username/password challenge will appear in a separate dialog box.
Step 3 If you used your existing router configuration file, enter the username and password for the privileged
(privilege level 15) account on your router. See the section Modifying Your Existing Configuration File
for more information. If you used one of the default configuration files included with the SDM .zip file,
enter the user account sdm and password sdm.
The SDM Java applet will begin loading to your PC.
Step 4 SDM is a signed Java applet. This may cause your browser to display a security warning. Accept the
certificate.
If you have loaded one the default configuration files included in the SDM zip file, then the first time
that you run SDM, the SDM startup wizard will appear, requiring you to enter basic network
configuration information. This information needs to be entered only once.
After this initial configuration, or if you used your existing router configuration file, SDM will display
the SDM Overview page.

原文地址:https://www.cnblogs.com/jjkv3/p/1016687.html