久草福利资源在线观看-91情侣在线视频-久久久免费看-久久麻豆视频-狠狠干超碰-99久久精品国产一区二区成人-狠狠操中文字幕-日韩精品一区二区三区中文不卡-黄色大片在线-亚洲男女av-热久久国产精品-在线观看中文字幕av-国产精品资源在线-一个色在线视频-浪荡奴双性跪着伺候-无码日韩精品一区二区免费-日本噜噜影院

熱門服務(wù)中心 English

返回頂部

思科CNNA中文教程-第一章路由器配置和文件管理(下)

Proceed?[confirm]<enter>

Destination filename []? c3620-ik9s-mz.122-12a.bin

Erase slot1:before copying?[confirm] <enter>

Use crc block checksumming? [confirm] <enter>

Max Retry Count [10]: <enter>

Perform image validation checks? [confirm] <enter>

Xmodem download using crc checksumming with image validation

Continue? [confirm] <enter>

Ready to receive file .........CC <start xmodem file transfer here>

4294967295 bytes copied in 1450.848 secs (1271445669961 bytes/sec)

Router1#

注釋:思科建議使用AUX口進(jìn)行此步驟,因?yàn)锳UX口支持硬件流控。為了提高拷貝速度,建議提前使用下述命令來(lái)設(shè)置端口速度

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#line aux 0

Router1(config-line)#speed 115200

Router1(config-line)#end

Router1#

1.11 刪除Flash中的文件

提問(wèn) 刪除Flash中的文件

回答

Router1#erase slot1:

Erasing the slot1 filesystem will remove all files![confirm]<enter>

Erasing device... eeeeeeeeeee ...erased

Erase of slot1:complete

Router1#

或者刪除單個(gè)文件

Router1#delete slot1:c3620-ik9s-mz.122-13.bin

Delete filename [c3620-ik9s-mz.122-13.bin]?<enter>

Delete slot1:c3620-ik9s-mz.122-13.bin?[confirm]<enter>

Router1#

注釋:并不是所有的路由器都支持erase命令,不行的話可以嘗試format命令,有些路由器在使用delete命令以后還可以使用undelete來(lái)恢復(fù),同時(shí)也需要使用squeeze來(lái)徹底刪除文件

1.12 對(duì)Flash進(jìn)行區(qū)分

提問(wèn) 對(duì)Flash進(jìn)行區(qū)分

回答

Router1#confirgure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router(config)#partition slot1:2 8 8

Router(config)#end

Router1#

注釋 如果erase不支持也可以試試partition命令

1.13 配置路由器為TFTP服務(wù)器

提問(wèn) 配置路由器為TFTP服務(wù)器

回答

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#tftp-server flash:c2600-ik9o3s-mz.122-12a.bin

Router1(config)#end

Router1#

注釋:使用此命令并不能把路由器配置為全功能的TFTP服務(wù)器,此服務(wù)器只能用于文件下載,而不能進(jìn)行上傳

思科CNNA中文教程-第一章路由器配置和文件管理(下)

1.14 在路由器上使用FTP

提問(wèn) 在路由器上使用TFTP來(lái)進(jìn)行文件的下載

回答

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#ip ftp username neoshi

Router1(config)#ip ftp password ioscookbook

Router1(config)#end

Router1#copy ftp:running-config

Address or name of remote host [172.25.1.1]?172.25.1.1

Source filename []?test

Destination filename [running-config]?<enter>

Accessing ftp://172.25.1.1/test...

loading /test

[OK - 24/4096 bytes]

 

24 bytes copied in 0.276 secs (87 bytes/sec)

Router1#

當(dāng)然也可以使用下面的簡(jiǎn)化命令

copy ftp://neoshi: ioscookbook@172.25.1.1/c3620-ik9s-mz.122-10a.bin slot1:

注釋:如果沒(méi)有指定用戶名和密碼,路由器缺省會(huì)使用匿名登錄

1.15 批量產(chǎn)生路由器配置文件

1.16 同時(shí)改變多臺(tái)路由器的配置

1.17 獲得設(shè)備的硬件信息

1.18 備份路由器的配置

以上都是使用perl腳本來(lái)進(jìn)行批量化操作,建議使用我推薦的圖形化綠色免費(fèi)工具軟件

1.19 熱啟動(dòng)

提問(wèn) 重啟路由器而對(duì)業(yè)務(wù)影響減少到最低

回答

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#warm-reboot

Router1(config)#end

Router1#

注釋:要使用熱啟動(dòng)必須先冷啟動(dòng)一次...無(wú)語(yǔ)了吧。此特性開始于12.3(2)T,根據(jù)實(shí)驗(yàn)冷啟動(dòng)要比熱啟動(dòng)慢4分鐘??梢允褂胷eload warm命令進(jìn)行人工的熱重啟

1.20 熱升級(jí)

提問(wèn) 升級(jí)路由器IOS而對(duì)業(yè)務(wù)影響最小

回答

Router1#configure termianl

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#warm-reboot

Router1(config)#end

Router1#reload warm file slot0:c3745-ipbasek9-mz.124-7.bin

注釋:12.3(11)T開始支持此特性

1.21 配置存檔特性

提問(wèn) 自動(dòng)對(duì)路由器配置進(jìn)行存檔

回答

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#archive

Router1(config-archive)#path slot0:/configs/$h

Router1(config-archive)#time-period 1440

Router1(config-archive)#end

Router1#

注釋:從12.3(4)T開始思科引入配置存檔特性,每次使用wr對(duì)配置進(jìn)行保存的時(shí)候都會(huì)在路由器上生成一個(gè)存檔配置文件,當(dāng)然也可以像示例那樣每1440分鐘保存一次,使用show archive 命令來(lái)顯示當(dāng)前的配置存檔,缺省保存14個(gè)文件,并且提供了配置比較命令show archive config differences slot0:/configs/Router1-1 更提供了配置回滾的命令configure replace slot0:/configs/Router1-1 方便的回滾到以前的配置。對(duì)于保存的配置文件名可以$h來(lái)代表設(shè)備主機(jī)名$t來(lái)代表時(shí)間

1.22 路由器配置鎖定

提問(wèn) 防止同時(shí)多個(gè)用戶對(duì)路由器配置文件進(jìn)行修改

回答

自動(dòng)進(jìn)行配置鎖定

Router1#configure termianl

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#configuration mode exclusive auto

Router1(config)#end

Router1#

按需進(jìn)行配置鎖定

Router1#configure terminal

Enter configuration commands,one per line.End with CNTL/Z.

Router1(config)#configuration mode exclusive manual

Router1(config)#end

Router1#

注釋:12.3(14)T引入了此特性防止多個(gè)用戶同時(shí)對(duì)路由器配置進(jìn)行修改,在配置為auto的模式下,如果有用戶進(jìn)入了配置模式就自動(dòng)對(duì)配置進(jìn)行鎖定,在manual模式下可以使用configure ternimal lock進(jìn)行配置鎖定,可以使用show configuration lock來(lái)查看當(dāng)前的配置鎖定信息,如果你確實(shí)需要進(jìn)行配置,就把看到鎖定的人踢掉吧。



400-0806-056
安吉县| 西乌| 依兰县| 汪清县| 玉龙| 永德县| 兴山县| 苍溪县| 綦江县| 蓬莱市| 彭阳县| 孟村| 丹江口市| 甘南县| 尼勒克县| 阿拉尔市| 南宫市| 济阳县| 微博| 临城县| 株洲县| 攀枝花市| 兴城市| 塔河县| 东山县| 鄄城县| 许昌县| 双牌县| 沙坪坝区| 鄂尔多斯市| 宁阳县| 韩城市| 囊谦县| 华阴市| 瓮安县| 丰都县| 新野县| 合肥市| 连江县| 龙江县| 南投县|