【正文】
roundtrip min/avg/max = 36/36/36 msAsuqaAikoshow ip eigrp neighborsIPEIGRP neighbors for process 1HAddressInterfaceHold UptimeSRTTRTOQSeq Type(sec)(ms)Cnt Num0Se010 00:02:0368741220 2Aikoshow ip route eigrpD[90/2195456] via , 00:02:00, Serial0Aikoping Type escape sequence to abort.Sending 5, 100byte ICMP Echos to , timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), roundtrip min/avg/max = 36/36/36 msAiko33Written by Aiko feat. Asuqa第三章交換篇實(shí)驗(yàn)一 層二交換機(jī)基本配置Lab Exercise 目標(biāo):熟練掌握如何進(jìn)入交換機(jī)各種模式并設(shè)置主機(jī)名.設(shè)備需求:Catalyst 2950 系列交換機(jī)一臺(tái).語(yǔ)法::Aikoenable:Aikoconfigure terminal:Aiko(config)hostname {hostname}:Aiko(config)end:Aikodisable:Aikoquit解釋:交換機(jī)的模式大致可分為::權(quán)限最低,通常只能使用少量查看性質(zhì)的命令.:可以使用更多查看性質(zhì)的命令和一些少量修改交換機(jī)參數(shù)的命令.:不能使用查看性質(zhì)的命令,但是確實(shí)做全局性修改和設(shè)置的模式,它還可以向下分為一些子模式,比如接口配置模式,線路配置模式等等.配置實(shí)例一:SwitchenableSwitchconfigure terminalEnter configuration mands, one per line.Switch(config)hostname AikoAiko(config)exitAikoEnd with CNTL/Z.*Mar1 00:04:: %SYS5CONFIG_I: Configured from console by consoleAikodisableAiko34Written by Aiko feat. AsuqaLab Exercise 目標(biāo):熟練掌握如何為交換機(jī)設(shè)置時(shí)間.設(shè)備需求:Catalyst 2950 系列交換機(jī)一臺(tái).語(yǔ)法:在特權(quán)模式下設(shè)置交換機(jī)時(shí)間:Aikoclock set {hh:mm:ss day month year}解釋:交換機(jī)本地的時(shí)間標(biāo)識(shí).配置實(shí)例一:Aikoclock set 16:16:16 25 September 2005Aikoshow clock16:16: UTC Sun Sep 25 2005AikoLab Exercise 目標(biāo):熟練掌握如何設(shè)置空閑超時(shí)時(shí)間.設(shè)備需求:Catalyst 2950 系列交換機(jī)一臺(tái).語(yǔ)法:,進(jìn)入控制臺(tái)口線路:Aiko(config)line console {number}:Aiko(configline)logging synchronous,自動(dòng)被交換機(jī)彈出到用戶模式以外, 0 分 0 秒代表永不超時(shí):Aiko(configline)exectimeout {minute} {second}解釋:所謂光標(biāo)跟隨,是指當(dāng)我們?cè)谳斎朊畹臅r(shí)候,不會(huì)被一些日志信息或 debug 命令產(chǎn)生的調(diào)試命令所沖斷.模式該特性是沒(méi)有啟用的.配置實(shí)例一:Aiko(config)exitAiko35Written by Aiko feat. Asuqa*Mar 1 00:20:: %SYS5CONFIG_I: Configured from console by consoleconfigureterminalEnter configuration mands, one per line.Aiko(config)line console 0Aiko(configline)logging synchronousAiko(configline)endAikoEnd with CNTL/Z.*Mar1 00:20:: %SYS5CONFIG_I: Configured from console by consoleAikoconfigure terminalAiko(config)配置實(shí)例二:Aikoshow clock*15:32: UTC Mon Jul 28 2005Aikoconfigure terminalEnter configuration mands, one per line.Aiko(config)line console 0Aiko(configline)exectimeout 20 0Aiko(config)endAikoexitEnd with CNTL/Z.*Mar1 00:24:: %SYS5CONFIG_I: Configured from console by consoleAikoAikoshow clock*15:52: UTC Mon Jul 28 2005AikoAiko con0 is now availablePress RETURN to get started.AikoLab Exercise 目標(biāo):熟練掌握如何為交換機(jī)設(shè)置標(biāo)語(yǔ)信息和描述信息.設(shè)備需求:Catalyst 2950 系列交換機(jī)一臺(tái).語(yǔ)法:,設(shè)置標(biāo)語(yǔ)信息:Aiko(config)banner motd {text} :Aiko(configif)interface {type} {number}36Written by Aiko feat. Asuqa:Aiko(configif)description {text}解釋:在設(shè)置標(biāo)語(yǔ)信息的時(shí)候,以號(hào)做為分隔符,它只在本地可見(jiàn),并且 Cisco IOS 執(zhí)行命令的時(shí)候會(huì)跳過(guò)它.配置實(shí)例一:Aiko(config)banner motd Enter TEXT message.End with the character 39。s madAiko****** SHUTDOWN NOW ***18Written by Aiko feat. Asuqa第二章路由篇實(shí)驗(yàn)一 靜態(tài)路由基本配置Lab Exercise 目標(biāo):熟練掌握如何配置靜態(tài)路由.設(shè)備需求:Cisco 2501 路由器兩臺(tái).準(zhǔn)備工作:確保路由器之間接口 IP 地址信息已經(jīng)設(shè)置好,能夠端到端的 ping 通.語(yǔ)法:進(jìn)入全局配置模式,定義目標(biāo)網(wǎng)絡(luò)號(hào),目標(biāo)網(wǎng)絡(luò)的子網(wǎng)掩碼和下一跳地址或接口:Aiko(config)ip route {network} {mask} {nexthopaddress|exitinterface} [distance]解釋:,管理距離為 1。s madProceed with reload? [confirm]Aiko*Mar1 00:50:: %SYS5SCHEDULED_RELOAD: Reload requested for 00:51:42UTC Mon Mar 1 1993 at 00:50:42 UTC Mon Mar 1 1993 by console. Reload Reason: theAdministrator39。對(duì)于串行接口,還要注意在 DCE端設(shè)置時(shí)鐘頻率,以便為 實(shí)驗(yàn)室背對(duì)背環(huán)境中,真正現(xiàn)實(shí)環(huán)境中,DCE 是由 CSU/DSU 來(lái)提供,端到端(endtoend)的連接,直連的接口必須處于同一子網(wǎng).配置實(shí)例一:路由器 Aiko 配置如下:Aikoconfigure terminalEnter configuration mands, one per line.End with CNTL/Z.Aiko(config)interface serial 0Aiko(configif)ip address Aiko(configif)no shutdown*Mar 1 00:13:: %LINK3UPDOWN: Interface Serial0, changed state to downAiko(configif)endAiko*Mar 1 00:14:: %LINK3UPDOWN: Interface Serial0, changed state to upAiko*Mar1 00:14:: %LINEPROTO5UPDOWN: Line protocol on Interface Serial0,changed state to upAiko路由器 Asuqa 配置如下:13Written by Aiko feat. AsuqaAsuqaconfigure terminalEnter configuration mands, one per line.End with CNTL/Z.Asuqa(config)interface serial 0Asuqa(configif)ip address Asuqa(configif)clock rate 56000Asuqa(configif)no shutdownAsuqa(configif)endAsuqaSep 25 16:24:: %SYS5CONFIG_I: Configured from console by consoleAsuqaSep 25 16:24:: %LINK3UPDOWN: Interface Serial0, changed state to upAsuqaSep 25 16:24:: %LINEPROTO5UPDOWN: Line protocol on Interface Serial0,changed state to upAsuqa測(cè)試一:Aikoping Type escape sequence to abort.Sending 5, 100byte ICMP Echos to , timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), roundtrip min/avg/max = 36/36/40 msAikoAsuqaping Type escape sequence to abort.Sending 5, 100byte ICMP Echos to , timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), roundtrip min/avg/max = 36/36/40 msAsuqa測(cè)試二:Aikotelnet Trying ... OpenPassword required, but none set[Connection to closed by foreign host]Aiko解釋:在 telnet 到遠(yuǎn)端路由器的時(shí)候,如果對(duì)方的 VTY 線路沒(méi)有設(shè)置密碼和啟用登陸,將拒絕本地路由器 telnet.14Written by Aiko feat. Asuqa解決方案:是在遠(yuǎn)端路由器設(shè)置 VTY Asuqa 配置如