624851104.jpg
实验过程:
第一步  在PC上安装SDM软件包
第二步  配置路由器的接口
R1(config)# int f4/0
R1(config-if)# ip add 192.168.1.10 255.255.255.0
R1(config-if)# no sh
R1(config-if)# end
R1# ping 192.168.1.100
//  在路由器上ping主机地址检查连通性
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.100, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/12/32 ms
R1#
第三步  配置路由器的HTTP服务
R1(config)# ip http server
R1(config)# ip http secure-server
R1(config)#
R1(config)# ip http authentication local
//  http登陆认证使用本路由器的数据库
第四步  配置路由器上的本地数据库
R1(config)# username cisco privilege 15 password 0 cisco
//  配置用户名为cisco,密码也为cisco,用户权限级别为15
第五步  配置SSH和Telnet登陆
R1(config)# lin vty 0 4
R1(config-line)# login local
R1(config-line)# transport input telnet ssh
R1(config-line)# exit
R1(config)# ^Z
第六步  打开SDM输入路由器F4/0接口的地址
624510967.jpg
第七步  SDM会使用浏览器打开路由器,同时提示输入用户名和密码
624645660.jpg
第八步  当认证成功之后,会弹出SDM配置界面
624314532.jpg