【计算机论文全套栏目提醒】:网学会员--在 计算机论文全套编辑为广大网友搜集整理了:思科CCNA中文教程(完整版) - 计算机理论绩等信息,祝愿广大网友取得需要的信息,参考学习。
1.1. 通过TFTP来配置路由器 提问 使用TFTP来加载路由器的配置文件 回答 Router1copy tftp://172.25.1.1/NEWCONFIG running-config Destination filename running-config ltentergt Accessing tftp://172.25.1.1/NEWCONFIG... Loading NEWCONFIG from 172.25.1.1 via FastEthernet0/0.1: OK - 24 bytes 24 bytes copied in 0.192 secs 125 bytes/sec Router1 注释 IOS12.0版本以前使用的configure network命令,另外拷贝至路由器的配置文件应该以End结尾,否则会出现下面的错误提示信息:PARSER-4-BADCFG: Unexpected end of configuration file. 1.2. 保存路由器配置到服务器 提问 保存路由器当前配置文件到TFTP服务器作为备份 回答 Freebsd touch /tftpboot/router1-confg Freebsd chmod 666 /tftpboot/router1-confg Freebsd telnet Router1 Trying 172.25.1.5... Connected to Router1. Escape character is . User Access Verification Password: ltvtypasswordgt Router1gtenable Password: ltenablepasswordgt Router1copy running-config tftp://172.25.1.1/router1-confg Address or name of remote host 172.25.1.1 ltentergt Destination filename router1-confg ltentergt 9640 bytes copied in 3.956 secs 2437 bytes/sec Router1 注释 确保TFTP服务器上的目录和文件可写 1.3. 使用远端配置文件启动路由器 提问 使用另外的配置文件来启动路由器 回答 Router1configure terminal Enter configuration commands one per line. End with CNTL/Z. Router1configservice config Router1configboot network tftp Network-auto 172.25.1.1 Router1configboot host tftp Router8-auto 172.25.1.1 Router1configend Router1 注释 service config缺省是关闭的,如果打开缺省会去查找的文件名为network-config cisconet.cfg router1-confg router1.cfg等 1.4. 保存大于NVRAM大小的配置文件 提问 配置文件过大,超过了可用的NVRAM大小 回答 Router1configure terminal Enter configuration commands one per line. End with CNTL/Z. Router1configservice compress-config Router1configend Router1 注释 可以使用show startup-config来验证 Router1show startup-config Using 5068 out of 29688 bytes uncompressed size 9969 bytes Uncompressed configuration from 5068 bytes to 9969 bytes 1.5. 清除启动配置文件 提问 清除配置文件恢复到出厂设置 回答 Router1erase nvram: (erase startup-config) Erasing the nvram filesystem will remove all files Continue confirm ltentergt OK Erase of nvram: complete Router1reload System configuration has been modified. Save yes/no: no Proceed with reload confirm ltentergt 注释 无 1.6. 加载新的IOS镜像 提问 升级当前的IOS 回答 Router1copy tftp://172.25.1.1/c2600-ik9o3s-mz.122-12a.bin flash: Destination filename c2600-ik9o3s-mz.122-12a.bin ltentergt Accessing tftp://172.25.1.1/c2600-ik9o3s-mz.122-12a.bin... Erase flash: before copying confirm ltentergt Erasing the flash filesystem will remove all files Continue confirm ltentergt Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased Erase of flash: complete Loading c2600-ik9o3s-mz.122-12a.bin from 172.25.1.1 via FastEthernet0/0.1: OK - 11135588 bytes Verifying checksum... OK 0xE643 11135588 bytes copied in 82.236 secs 135410 bytes/sec Router1 reload Proceed with reload confirm ltentergt 注释 无 1.7. 以另一个IOS镜像文件启动 提问 使用其它的IOS镜像启动 回答 Router1configure terminal Enter configuration commands one per l