![銳捷網(wǎng)絡(luò)實(shí)驗(yàn)手冊(cè)_第1頁(yè)](http://file2.renrendoc.com/fileroot_temp3/2021-10/14/b93042ab-4245-40a5-b029-2d30fa6af810/b93042ab-4245-40a5-b029-2d30fa6af8101.gif)
![銳捷網(wǎng)絡(luò)實(shí)驗(yàn)手冊(cè)_第2頁(yè)](http://file2.renrendoc.com/fileroot_temp3/2021-10/14/b93042ab-4245-40a5-b029-2d30fa6af810/b93042ab-4245-40a5-b029-2d30fa6af8102.gif)
![銳捷網(wǎng)絡(luò)實(shí)驗(yàn)手冊(cè)_第3頁(yè)](http://file2.renrendoc.com/fileroot_temp3/2021-10/14/b93042ab-4245-40a5-b029-2d30fa6af810/b93042ab-4245-40a5-b029-2d30fa6af8103.gif)
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、銳捷網(wǎng)絡(luò)實(shí)驗(yàn)手冊(cè)RG-Switch慮哥盤(pán)證快3構(gòu)唐幕戶(hù)需章實(shí)驗(yàn)一 交換機(jī)的基本配置1. 基本配置:網(wǎng)絡(luò)拓?fù)鋵?shí)驗(yàn)環(huán)境將RG-Switch的其中一以太網(wǎng)口連至 PC的以太網(wǎng)口實(shí)驗(yàn)配置1. 配置交換機(jī)主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname SW1(注:將主機(jī)名配置為“ SW1)SW1(co nfig)#2. 配置交換機(jī)遠(yuǎn)程登陸密碼SW1(config)#enable secret level 1 0 star (注:將交換機(jī)遠(yuǎn)
2、程登陸密碼配置為 “star”)3. 配置交換機(jī)特權(quán)模式口令SW1(co nfig)#e nable secret level 15 0 star(注:將交換機(jī)特權(quán)模式口令配置為“ star ”)4. 為交換機(jī)分配管理IP地址SW1(co nfig)#i nterface vlan 1SW1(co nfig-if)# no shutdow n注:為VLAN1的管理接口分配IP地址(表示通過(guò)VLAN1來(lái)管理交換機(jī)),設(shè)置交換機(jī)的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 5. 顯示交換機(jī)MAC地址表的記錄SW1#show mac-address-table注:在PC上開(kāi)一命令行窗口,運(yùn)行命令:能pi ng通則
3、在交換機(jī)上執(zhí)行 show mac-address-table 可查看到PC的MAC地址 注:PC的MAC地址可以在命令行下輸入:ipconfig /all查看.聊te金哥進(jìn)is 按構(gòu)崖幕戶(hù)孚攻6修改交換機(jī)MAC地址的老化時(shí)間SW1(c on fig)#mac-address-table agin g-time注:將交換機(jī)MAO址老化時(shí)間設(shè)置為10秒SW1(co nfig)#e nd注:從交換機(jī)全局配置模式返回至特權(quán)模式SW1#show mac-address-table注:顯示交換機(jī) MAC地址表的記錄測(cè)試結(jié)果從PC上TELNET交換機(jī).驗(yàn)證命令show int fO/1show ip int
4、show runPingtel net實(shí)驗(yàn)二VLAN配置1. VLAN/802.1Q 本交換機(jī)隔離網(wǎng)絡(luò)拓?fù)銹C 1PC 2實(shí)驗(yàn)項(xiàng)目VLAN/802.1Q-本交換機(jī)隔離測(cè)試實(shí)驗(yàn)環(huán)境PC1連接在交換機(jī)的0/5 口; PC2連接在交換機(jī)的0/15 口 實(shí)驗(yàn)配置S2126G#co nfigure termi nal注:進(jìn)入交換機(jī)全局配置模式S2126G(co nfig)# vlan 10注:創(chuàng)建vlan 10S2126G(co nfig-vla n)# name test10注:將 Vian 10命名為test10S2126G(config)# vlan 20注:創(chuàng)建vlan 20S2126G(co
5、nfig-vla n)# name test20 注:將 Vlan 20命名為test20S2126G(co nfig-if)# in terface fastethernet 0/5注:進(jìn)入fastethernet 0/5的接口配置模式S2126G(co nfig-if)# switch access vlan 10注:將 fastethernet 0/5端口加入 vian 10 中S2126G(co nfig-if)# in terface fastethernet 0/15注:進(jìn)入fastethernet 0/15的接口配置模式S2126G(co nfig-if)# switch acc
6、ess vlan 20注:將 fastethernet 0/15 端口加入 vlan 20 中實(shí)驗(yàn)過(guò)程清空交換機(jī)原有 vlan 配置,將 fastethernet0/5 口加入 vlan 10 ,將 fastethernet0/15 口加入 vlan 20。實(shí)驗(yàn)結(jié)果PC1地址設(shè)成的地址,PC2地址設(shè)成的地址 PC1與PC 2不能相互pi ng通。2. VLAN/802.1Q 跨交換機(jī) VLAN網(wǎng)絡(luò)拓?fù)銹C3vla nPC 1S3550S2126vlan-24G7PC 2實(shí)驗(yàn)項(xiàng)anVLAN/802.1Q-跨交換機(jī) VLAN測(cè)試 實(shí)驗(yàn)環(huán)境 兩臺(tái)交換機(jī)的fast0/24 互聯(lián),其中一臺(tái)交換機(jī)的fas
7、t0/5 和fast0/15 連接PC1 和 PC2 另一臺(tái)交換機(jī)的fast0/5 接PC3實(shí)驗(yàn)配置交換機(jī)S3550-24:SWITCH#c on figure termi nal注:進(jìn)入交換機(jī)全局配置模式SWITCH(co nfig)# vlan 10注:創(chuàng)建vlan 10SWITCH(co nfig-vla n)# name testIO 注:將 Vian 10命名為test10SWITCH(co nfig)# vlan 20注:創(chuàng)建vlan 20SWITCH(co nfig-vla n)# name test20 注:將 Vlan 20命名為test20SWITCH(co nfig-if
8、)# in terface fastethernet 0/5 注:進(jìn)入fastethernet 0/5 的接口配置模式SWITCH(co nfig-if)# switch access vlan 10 注:將 fastethernet 0/5 端口加入 vian 10 中SWITCH(co nfig-if)# in terface fastethernet 0/15 注:進(jìn)入fastethernet 0/15 的接口配置模式SWITCH(co nfig-if)# switch access vlan 20 注:將 fastethernet 0/15 端口加入 vlan 20 中SWITCH(c
9、o nfig-if)# in terface fastethernet 0/24 注:進(jìn)入fastethernet 0/24的接口配置模式SWITCH(co nfig-if)# switchport mode trunk 注:將 fastethernet 0/24 設(shè)為 tag vlan 模式交換機(jī)S2126G:SWITCH#c on figure termi nal注:進(jìn)入交換機(jī)全局配置模式SWITCH(co nfig)# vlan 10注:創(chuàng)建vlan 10SWITCH(co nfig-vla n)# name test10 注:將 Vian 10命名為test10SWITCH(co nf
10、ig-if)# in terface fastethernet 0/5 注:進(jìn)入fastethernet 0/5 的接口配置模式SWITCH(co nfig-if)# switch access vlan 10 注:將 fastethernet 0/5 端口加入 vian 10 中SWITCH(co nfig-if)# in terface fastethernet 0/24 注:進(jìn)入fastethernet 0/24 的接口配置模式SWITCH(co nfig-if)# switchport mode trunk 注:將 fastethernet 0/24 設(shè)為 tag vlan 模式實(shí)驗(yàn)過(guò)
11、程分別在兩臺(tái)交換機(jī)上做如上配置驗(yàn)證命令:show via nshow int fO/24 switchport實(shí)驗(yàn)結(jié)果PC1與PC3地址都設(shè)成的地址.PC2地址都設(shè)成的 地址.當(dāng)PC1與PC3都分別接在兩臺(tái)交換機(jī)的fast 0/5時(shí),即在同一 Vian中,可互相ping通, 當(dāng)PC2與 PC1, PC3不在同一 vian中則不通。岀能攝珂址JS 快防構(gòu)崖耳戶(hù)需章實(shí)驗(yàn)三生成樹(shù)協(xié)議1.生成樹(shù)802.1D網(wǎng)絡(luò)拓?fù)銼TS2126G實(shí)驗(yàn)項(xiàng)目生成樹(shù)協(xié)議802.1D測(cè)試實(shí)驗(yàn)環(huán)境用兩臺(tái)支持802.1d的交換機(jī)用兩條雙絞線互聯(lián)。實(shí)驗(yàn)配置S2126G#co nfigure termi nal注:進(jìn)入全局配置模式S
12、2126G(config)# spanning-tree注:?jiǎn)⒂媒粨Q機(jī)生成樹(shù)協(xié)議S2126G(config)# spanning-tree mode stp注:將交換機(jī)生成樹(shù)模式設(shè)置為802.1dS2126G(config)# end注:返回特權(quán)模式S2126Gfr show spanning-tree注:顯示交換機(jī)生成樹(shù)協(xié)議的狀態(tài)S2126Gfr show spa nnin g-tree in terface fastether net 0/2注:顯示交換機(jī)fastethernet 0/2 端口的生成樹(shù)狀態(tài)實(shí)驗(yàn)過(guò)程在一臺(tái)非根S2126上執(zhí)行上述命令后過(guò)1分鐘,用showspa nnin g-
13、tree in terface fast 0/2, show spa nnin g-tree in terface fast 0/4查看,并查看 S2126G的相應(yīng)端口,曲te血蹲進(jìn)t;按肚構(gòu)崖sr戶(hù)孚求這四個(gè)端口中應(yīng)有一個(gè)端口處于discarding 狀態(tài),其余端口處于 forwarding 狀態(tài)實(shí)驗(yàn)結(jié)果當(dāng)有兩個(gè)端口都連在一個(gè)共享介質(zhì)上,交換機(jī)會(huì)選擇一個(gè)高優(yōu)先級(jí)(數(shù)值?。┑亩丝谶M(jìn) 入forwarding 狀態(tài),低優(yōu)先級(jí)(數(shù)值大)的端口進(jìn)入 discarding 狀態(tài)。如果兩個(gè)端口 的優(yōu)先級(jí)一樣,就選端口號(hào)小的那個(gè)進(jìn)入forwardi ng狀態(tài)。輔助命令1. S2126G(config)#sp
14、anning-tree priority 注:配置交換機(jī)優(yōu)先級(jí),“ 0”或“4096”的倍數(shù)(RSTPBPDU該值后12bit全0)2 .S2126G(config-if)# spanning-tree port-priority注:配置交換機(jī)端口優(yōu)先級(jí),“0”或“ 16”的倍數(shù)(RSTPBPDU該值后4bit全0)2 .生成樹(shù)802.1W網(wǎng)絡(luò)拓?fù)銼T2126S2126G實(shí)驗(yàn)項(xiàng)目快速生成樹(shù)802.1W測(cè)試實(shí)驗(yàn)環(huán)境用一臺(tái)支持802.1W的交換機(jī)與STAR-S2126G交換機(jī)用兩條雙絞線互聯(lián)(這里用兩臺(tái)STAR-S2126助例,分別連接在 0/2、0/4 口)實(shí)驗(yàn)配置S2126G#co nfigu
15、re termi nal注:進(jìn)入全局配置模式S2126G(co nfig)#spa nnin g-tree注:?jiǎn)⒂媒粨Q機(jī)生成樹(shù)協(xié)議S2126G(co nfig)#spa nnin g-tree mode rstp注:將交換機(jī)生成樹(shù)模式設(shè)置為 802.1WS2126G(co nfig)#e nd注:返回特權(quán)模式S2126Gfr show spanning-tree注:顯示交換機(jī)生成樹(shù)協(xié)議的狀態(tài)S2126Gfr show spa nnin g-tree in terface fastether net 0/2注:顯示交換機(jī)fastethernet 0/2端口的生成樹(shù)狀態(tài)實(shí)驗(yàn)過(guò)程在一臺(tái)非根S2126
16、G上執(zhí)行上述命令后過(guò) 5秒,用show spa nnin g-tree in terface fast 0/2 , show spa nnin g-tree in terface fast 0/4查看,應(yīng)為一個(gè)端口 StpPortState應(yīng)處于 discarding,另一端口 StpPortState 應(yīng)處于 forwarding 狀態(tài)實(shí)驗(yàn)結(jié)果當(dāng)有兩個(gè)端口都連在一個(gè)共享介質(zhì)上,交換機(jī)會(huì)選擇一個(gè)高優(yōu)先級(jí)(數(shù)值小)的端口進(jìn) 入forwarding 狀態(tài),低優(yōu)先級(jí)(數(shù)值大)的端口進(jìn)入 discarding 狀態(tài)。如果兩個(gè)端口 的優(yōu)先級(jí)一樣,就選端口號(hào)小的那個(gè)進(jìn)入forwardi ng狀態(tài)。輔助命令
17、1. S2126G(config)#spanning-tree priority 注:配置交換機(jī)優(yōu)先級(jí),“ 0”或“4096”的倍數(shù)(RSTPBPDU該值后12bit全0)2 .S2126G(config-if)#spanning-treeport-priority注:配置交換機(jī)端口優(yōu)先級(jí),“0”或“ 16”的倍數(shù)(RSTPBPDU該值后4bit全0) iflte慮哥麒欝快斜崖sr戶(hù)需求實(shí)驗(yàn)四路由器的基本配置網(wǎng)絡(luò)拓?fù)鋝oDF0 : 172.1631/24172.16.3.2/24172.1622實(shí)驗(yàn)配置A路由器的配置:一基本配置:2. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)
18、模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname A(注:將主機(jī)名配置為“ A”)A(co nfig)#2 配置路由器遠(yuǎn)程登陸密碼A(config)# line vty 0 4 ( 注:進(jìn)入路由器vtyO至vty4虛擬終端線路模式) A(co nfig-li ne)#log inA(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3配置路由器特權(quán)模式口令A(yù)(c on fig)#e nable password star或:A(
19、c on fig)#e nable secret star(注:將路由器特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址A(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0fastethernet 1,fastethernet n; serial 0 , serial 1 ,serial n )注:設(shè)置路由器serial 0的IP地址為172.1622,對(duì)應(yīng)的子網(wǎng)掩碼為 注:進(jìn)入路由器fastethernet0的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,fast
20、ethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器 fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為二配置接口時(shí)鐘頻率(DC氐A(chǔ)(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )R2624(config-if)clock rate 64000注:設(shè)置接口物理時(shí)鐘頻率為64KbpsB路
21、由器的配置:一基本配置:1. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname B(注:將主機(jī)名配置為“ B)B(co nfig)#2配置路由器遠(yuǎn)程登陸密碼B(config)# line vty 0 4 (注:進(jìn)入路由器vty0至vty4虛擬終端線路模式)B(co nfig-li ne)#log inB(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“ star ”)3配置路由器特權(quán)
22、模式口令B(c on fig)#e nable password star或:B(c on fig)#e nable secret star(注:將路由器特權(quán)模式口令配置為“ star ”)4.為路由器各接口分配IP地址B(co nfig)#i nterface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 A(co nfig)#i nterfa
23、ce fastethernet 0注:進(jìn)入路由器fastethernet0的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為驗(yàn)證命令:show runshow con trollers s 0show intshow ip int briefPingtel net測(cè)試結(jié)果:1. 查看路由器端口為up, up2. 兩臺(tái)路由器互相ping Serial 口的地址,應(yīng)該為通.3. 兩臺(tái)主機(jī)
24、分別ping與其直連的路由器的Fastethernet 口,應(yīng)為通.4.從與路由器A相連的主機(jī)可以telnet到A,與路由 器E相連的主機(jī)可以tel net到E.尬艷金用mis 按腫構(gòu)崖ST戶(hù)需章實(shí)驗(yàn)五路由協(xié)議1 .靜態(tài)路由網(wǎng)絡(luò)拓?fù)渚W(wǎng)關(guān):172.16.1.1網(wǎng)關(guān):172.16.3.1實(shí)驗(yàn)內(nèi)容通過(guò)靜態(tài)路由,使路由器 A, B具有非直連子網(wǎng)的路由信息。實(shí)驗(yàn)配置A路由器的配置:一基本配置:3. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#
25、hostname A(注:將主機(jī)名配置為“ A”)A(co nfig)#2配置路由器遠(yuǎn)程登陸密碼A(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端線路模式)A(co nfig-li ne)#log inA(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3配置交換機(jī)特權(quán)模式口令A(yù)(c on fig)#e nable password star或:A(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址A(co nfig)#
26、i nterface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n; serial 0, serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 A(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet0的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n; serial 0, serial 1,ser
27、ial n )注:設(shè)置路由器 fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為二配置接口時(shí)鐘頻率(DC氐A(chǔ)(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n; serial 0, serial 1,serial n )R2624(config-if)clock rate 64000注:設(shè)置接口物理時(shí)鐘頻率為 64Kbps三配置靜態(tài)路由:或.B路由器的配置:一基本配置:2. 配置路由器主機(jī)名Red-Giantenable(注:從
28、用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#c on figure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname B(注:將主機(jī)名配置為“ B)B(co nfig)#2 配置路由器遠(yuǎn)程登陸密碼B(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端線路模式)B(co nfig-li ne)#log inB(co nfig-li ne)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3 配置交換機(jī)特權(quán)模式口令B(c on fig)#e nable password star或
29、:B(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址B(config)#interface serial 0注:進(jìn)入路由器serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 A(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet0的接口配置模式
30、(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )注:設(shè)置路由器fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為二.配置靜態(tài)路由:或:驗(yàn)證命令:show ip int briefshow ip routePing實(shí)驗(yàn)結(jié)果A,B各路由器應(yīng)該看到全網(wǎng)路由。主機(jī)172.16.3.2 能夠訪問(wèn)主機(jī) 172.16.1.22 .動(dòng)態(tài)路由(RIP )網(wǎng)絡(luò)拓?fù)鋝oDF0 : 172.16.3.1/24S0 DTE172.16.2.1F0 : 172.16.1.1/24172.
31、16.2.2172.16.3.2/24172.16.1.2/24網(wǎng)關(guān):172.16.3.1網(wǎng)關(guān):實(shí)驗(yàn)內(nèi)容通過(guò)動(dòng)態(tài)路由RIP,使路由器A,B具有非直連子網(wǎng)的路由信息實(shí)驗(yàn)配置A路由器的配置:一基本配置:4. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname A(注:將主機(jī)名配置為“ A”)A(co nfig)#2 配置路由器遠(yuǎn)程登陸密碼A(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端
32、線路模式)A(co nfig-li ne)#log inA(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3 配置交換機(jī)特權(quán)模式口令A(yù)(c on fig)#e nable password star或:A(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址A(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet
33、 n; serial 0, serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 A(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet0的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n; serial 0, serial 1,serial n )注:設(shè)置路由器 fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為二配置接口時(shí)鐘頻率(DC氐A(chǔ)(config)#interface serial 0注:進(jìn)入路由器
34、serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n; serial 0, serial 1,serial n )R2624(config-if)clock rate 64000注:設(shè)置接口物理時(shí)鐘頻率為 64Kbps三.配置RIP:A(co nfig)#router rip注:?jiǎn)⒂寐酚善鰽的RIP進(jìn)程注:(1.公布屬于主類(lèi)的子網(wǎng);2.包含在主類(lèi)內(nèi)的接口發(fā)送接收路由信息)B路由器的配置:一基本配置:3. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co n
35、figure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname B(注:將主機(jī)名配置為“ B)B(co nfig)#2 配置路由器遠(yuǎn)程登陸密碼B(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端線路模式)B(co nfig-li ne)#log inB(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3 配置交換機(jī)特權(quán)模式口令B(c on fig)#e nable password star或:B(c on fig)#e nable secret s
36、tar(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址B(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 B(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet 0的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,
37、fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器 fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為二.配置RIP:B(co nfig)#router rip注:?jiǎn)⒂寐酚善鰽的RIP進(jìn)程注:(1.公布屬于主類(lèi)的子網(wǎng);2.包含在主類(lèi)內(nèi)的接口發(fā)送 接收路由信息)實(shí)驗(yàn)結(jié)果A,B各路由器應(yīng)該看到全網(wǎng)路由。主機(jī)能夠訪問(wèn)主機(jī)。驗(yàn)證命令:show ip int briefshow ip routeshow ip protocolsPing實(shí)驗(yàn)六配置幀中繼(F-R)網(wǎng)絡(luò)拓?fù)銬LCI=100DLCI=100S0(
38、DTE):172.168.5.5S0(DTE):172.168.5.5S1(DCE)S1(DTE):172.168.5.7實(shí)驗(yàn)內(nèi)容模擬幀中繼PVC連接A, B場(chǎng)點(diǎn)實(shí)驗(yàn)配置A路由器的配置:一基本配置:5. 配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname A(注:將主機(jī)名配置為“ A”)A(co nfig)#2配置路由器遠(yuǎn)程登陸密碼A(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端線
39、路模式)A(co nfig-li ne)#log inA(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3配置交換機(jī)特權(quán)模式口令A(yù)(c on fig)#e nable password star或:A(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4. 為路由器各接口分配IP地址A(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernetOfastethernet 1,fastethernet n
40、 ; serial 0, serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 二配置路由器A串口封裝協(xié)議:A(c on fig-if)#en capsulatio n frame-relayB路由器的配置:一基本配置:1.配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname B(注:將主機(jī)名配置為“ B)B(co nfig)#2配置路由器遠(yuǎn)程登陸密碼B(config)# lin
41、e vty 0 4 (注:進(jìn)入路由器vty0至vty4虛擬終端線路模式)B(co nfig-li ne)#log inB(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“ star ”)3配置交換機(jī)特權(quán)模式口令B(c on fig)#e nable password star或:B(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“ star ”)4.為路由器各接口分配IP地址B(config)#interface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastether
42、net 0,fastethernet 1,fastethernet n ; serial 0 , serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 二配置路由器B串口封裝協(xié)議:B(c on fig-if)#en capsulati on frame-relayFRSW各由器的配置:一基本配置:配置路由器主機(jī)名Red-Giantenable(注:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#c on figure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname FRSW (注:將主機(jī)名配置
43、為“ B) FRSW(co nfig)#二.配置FR交換特性:FRSW(con fig)#frame-relay switchi ng注:將路由器模擬為幀中繼交換設(shè)備FRSW(co nfig)#i nterface serial 1注:進(jìn)入路由器 serial 1的接口配置模式(常見(jiàn)的路由器接口:fastethernet 1,fastethernet n ; serial 0, serial 1,,FRSW(co nfig-if)#clock rate 64000注:設(shè)置serial 1接口物理時(shí)鐘頻率為64KbpsFRSW(c on fig-if)#e ncapsulati on frame
44、-relay注:設(shè)置serial 1接口的封裝協(xié)議為幀中繼FRSW(c on fig-if)#frame-relay in tf-type dce注:使serial 1接口具有幀中繼交換特性FRSW(co nfig-if)frame-relay route 400 in terface serial 0 100注:“400”為入口的DLCI編號(hào);“ serial 0” 為出口“ 100”為出口的DLCI編號(hào)。FRSW(co nfig)#i nterface serial 0注:進(jìn)入路由器 serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 1,fastethernet
45、n ; serial 0, serial 1,,fastethernet 0serial n )fastethernet 0serial n )FRSW(co nfig-if)#clock rate 64000注:設(shè)置serial 0 接口物理時(shí)鐘頻率為64KbpsFRSW(c on fig-if)#e ncapsulati on frame-relay注:設(shè)置serial 0 接口的封裝協(xié)議為幀中繼FRSW(c on fig-if)#frame-relay in tf-type dce注:使serial 0 接口具有幀中繼交換特性FRSW(co nfig-if)frame-relay rou
46、te 100 in terface serial 1 400 注:“400”為入口的DLCI編號(hào);“ serial 1” 為出口“ 100”為出口的DLCI編號(hào)。測(cè)試結(jié)果PVC節(jié)點(diǎn)與節(jié)點(diǎn)可以互相訪問(wèn),模擬實(shí)際環(huán)境中的幀中繼實(shí)驗(yàn)七IP訪問(wèn)列表1.IP標(biāo)準(zhǔn)訪問(wèn)列表網(wǎng)絡(luò)拓?fù)銪172.17.1.2SO(DTE)172.16.3.2172.16.3.2F0172.16.3.1172.17.1.1172.16.4.1F1實(shí)驗(yàn)內(nèi)容標(biāo)準(zhǔn)訪問(wèn)列表只對(duì)數(shù)據(jù)包的源地址進(jìn)行規(guī)則匹配。 標(biāo)準(zhǔn)訪問(wèn)列表應(yīng)該支持各種規(guī)則定義和規(guī)則排列實(shí)驗(yàn)配置A路由器的配置:一基本配置:6. 配置路由器主機(jī)名Red-Giantenable(注
47、:從用戶(hù)模式進(jìn)入特權(quán)模式)Red-Gia nt#co nfigure termi nal(注:從特權(quán)模式進(jìn)入全局配置模式)Red-Giant(config)#hostname A(注:將主機(jī)名配置為“ A”)A(co nfig)#2配置路由器遠(yuǎn)程登陸密碼A(config)# line vty 0 4 (注:進(jìn)入路由器vtyO至vty4虛擬終端線路模式)A(co nfig-li ne)#log inA(config-line)#password star(注:將路由器遠(yuǎn)程登陸口令設(shè)置為“star ”)3配置交換機(jī)特權(quán)模式口令A(yù)(c on fig)#e nable password star或:A
48、(c on fig)#e nable secret star(注:將交換機(jī)特權(quán)模式口令配置為“star ”)4為路由器各接口分配IP地址A(co nfig)#i nterface serial 0注:進(jìn)入路由器serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )注:設(shè)置路由器serial 0的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為 A(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet0的接口配置模式
49、(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )注:設(shè)置路由器fastethernet 0 的IP地址為,對(duì)應(yīng)的子網(wǎng)掩碼為A(co nfig)#i nterface fastethernet 1注:進(jìn)入路由器fastethernet1的接口配置模式(常見(jiàn)的路由器接口: fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )注:設(shè)置路由器fastethernet 1 的IP地
50、址為,對(duì)應(yīng)的子網(wǎng)掩碼為二配置接口時(shí)鐘頻率(DC氐A(chǔ)(config)#interface serial 0注:進(jìn)入路由器serial 0的接口配置模式(常見(jiàn)的路由器接口:fastethernet 0,fastethernet 1,fastethernet n ; serial 0, serial 1,serial n )A(config-if)clock rate 64000注:設(shè)置接口物理時(shí)鐘頻率為 64Kbps三.IP ACL配置:0,.0. 0172.17.1.2S0(DTE)故甲進(jìn)s按防潛崖sr戶(hù)#靈注:定義IP標(biāo)準(zhǔn)ACL 1,允許類(lèi)網(wǎng)段A(co nfig)#i nterface fastethernet 0注:進(jìn)入路由器fastethernet 0的接口配置模式(常見(jiàn)的路由器接口: fastethernet fastethernet 1,fastethernet n; serial 0 , serial 1,serial n )A(c on fig-if)#ip access-group 1 out注:將ACL 1應(yīng)用在fastethernet 0 的出口A(co nfig)#i nterface fastethernet 1注:進(jìn)入路由器fa
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 人教版七年級(jí)數(shù)學(xué)上冊(cè):2.1《整式》聽(tīng)評(píng)課記錄5
- 五年級(jí)上冊(cè)數(shù)學(xué)聽(tīng)評(píng)課記錄《4.5 探索活動(dòng):梯形的面積》(3)-北師大版
- 中圖版地理七年級(jí)下冊(cè)《第五節(jié) 黃土高原》聽(tīng)課評(píng)課記錄5
- 青島版八年級(jí)上冊(cè)數(shù)學(xué)聽(tīng)評(píng)課記錄《3-3分式的乘法與除法》
- 小學(xué)二年級(jí)數(shù)學(xué)口算速算試題
- 小學(xué)二年級(jí)第一學(xué)期班主任工作總結(jié)
- 五年級(jí)口算題帶答案
- 浙教版數(shù)學(xué)七年級(jí)下冊(cè)3.2《單項(xiàng)式的乘法》聽(tīng)評(píng)課記錄
- 粵人版地理八年級(jí)下冊(cè)《第一節(jié) 地理區(qū)域》單元整體聽(tīng)課評(píng)課記錄2
- 聽(tīng)評(píng)課記錄三年級(jí)語(yǔ)文
- 云南省普通初中學(xué)生成長(zhǎng)記錄模板-好ok
- SB/T 10415-2007雞粉調(diào)味料
- JB/T 20036-2016提取濃縮罐
- 考古繪圖基礎(chǔ)
- GB/T 3452.4-2020液壓氣動(dòng)用O形橡膠密封圈第4部分:抗擠壓環(huán)(擋環(huán))
- GB/T 32574-2016抽水蓄能電站檢修導(dǎo)則
- 《社會(huì)主義市場(chǎng)經(jīng)濟(jì)理論(第三版)》第十三章社會(huì)主義市場(chǎng)經(jīng)濟(jì)標(biāo)準(zhǔn)論
- 變更索賠案例分析
- 2022年4月自學(xué)考試06093《人力資源開(kāi)發(fā)與管理》歷年真題及答案
- 《花婆婆》兒童繪本故事
- DB44∕T 2149-2018 森林資源規(guī)劃設(shè)計(jì)調(diào)查技術(shù)規(guī)程
評(píng)論
0/150
提交評(píng)論