【正文】
0/2 current state: UP IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 3ce5a648d7f1 Description: Ethernet1/0/2 Interface Loopback is not set Media type is twisted pair, Port hardware type is 100_BASE_TX 100Mbpsspeed mode, fullduplex mode Link speed type is force link, link duplex type is force link100Mbpsspeed mode, fullduplex modeLink speed type is force link, link duplex type is force link從如上顯示信息可以看到,端口雖然依然是全雙工模式,但是其協(xié)商模式已經(jīng)是強制模式,而不是自協(xié)商模式。步驟五: 同時修改端口的速率與雙工在SWA上將端口Ethernet1/0/5的速率修改為10M,雙工模式修改為半雙工,請在如下的空格中補充完整的配置命令:[SWAEthernet1/0/5]speed 10[SWAEthernet1/0/5]duplex half修改完成后,再次通過命令display interface Ethernet 1/0/5查看端口Ethernet1/0/5的狀 Ethernet1/0/2 current state: UP IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 3ce5a648d7f1 Description: Ethernet1/0/2 Interface Loopback is not set Media type is twisted pair, Port hardware type is 100_BASE_TX 100Mbpsspeed mode, fullduplex mode Link speed type is force link, link duplex type is force link步驟六: 關閉端口 在SWA上通過在接口視圖下執(zhí)行shutdown命令可以將端口Ethernet1/0/5關閉,配置完成后,再次通過命令display interface Ethernet 1/0/5查看端口Ethernet1/0/5的狀態(tài),根據(jù)該命令輸出請補充如下的空格:Ethernet1/0/10: link status is DOWN[SWAEthernet1/0/2]display int e1/0/2 Ethernet1/0/2 current state: Administratively DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 3ce5a648d7f1 Description: Ethernet1/0/2 Interface Loopback is not set Media type is twisted pair, Port hardware type is 100_BASE_TX 10Mbpsspeed mode, halfduplex mode Link speed type is force link, link duplex type is force link 可以看到端口被關閉,但是步驟五配置的雙工模式和速率模式?jīng)]有改變。該命令只是影響了端口的物理狀態(tài)??梢酝ㄟ^在接口視圖下配置undo shutdown命令將端口Ethernet1/0/5開啟。 實驗出現(xiàn)的錯誤和解決方法:將ppp上的e1/0/5當成是本機的交換機接口,后來問老師,在老師的指導下,明白了,那個交換機的接口必須是自己電腦當前的顯示e1/0/2。還有修改端口速率和修改端口雙工模式時候要清楚的知道做的方法,最后關閉端口要shutdown。:本實驗做完后,能清楚的了解端口的狀態(tài),物理MAC地址。連接線纜類型一集端口的雙工與速率。也掌握修改端口速率和修改端口雙工模式,還有懂事修改端口的速率和雙工。最后做完以后記得要改回原來的配置。實驗三 廣域網(wǎng)接口和線纜 實驗內(nèi)容與目標完成本實驗,應該能夠達到以下目標 本實驗按照實驗圖31進行組網(wǎng)。:實驗任務一: 廣域網(wǎng)接口線纜步驟一:連接廣域網(wǎng)接口線纜,(雖然通常只保留在用的針),由此可以得知路由器RTB的接口S1/0是DTE端,而路由器RTA的接口S1/0是DCE端步驟二:查看廣域網(wǎng)接口信息在RTA上通過display interface Serial 1/0命令查看接口Serial 1/0的信息,根據(jù)其輸出信息可以看到:[RTA]display interface serial 5/0Serial5/0 current state: UPLine protocol current state: UPDescription: Serial5/0 InterfaceThe Maximum Transmit Unit is 1500, Hold timer is 10(sec)Internet protocol processing : disabledLink layer protocol is PPPLCP openedOutput queue : (Urgent queuing : Size/Length/Discards) 0/100/0Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0Physical layer is synchronous, Baudrate is 64000 bpsInterface is DCE, Cable type is V35, Clock mode is DCECLK1在RTB上通過display interface Serial 1/0命令查看接口Serial 1/0的信息,根據(jù)其輸出信息可以看到:實驗5[RTB]display interface serial 5/0Serial5/0 current state: UPLine protocol current state: UPDescription: Serial5/0 InterfaceThe Maximum Transmit Unit is 1500, Hold timer is 10(sec)Internet protocol processing : disabledLink layer protocol is PPPLCP openedOutput queue : (Urgent queuing : Size/Length/Discards) 0/100/0Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0Physical layer is synchronous, Baudrate is 64000 bpsInterface is DTE, Cable type is V35, Clock mode is DCECLK1由以上信息可以看到,目前的傳輸速率是64000 bps或者64K bps步驟三:配置廣域網(wǎng)接口參數(shù)配置將RTB的接口S1/0的傳輸速率修改為 2Mbps,請在如下的空格中補充完整的配置命令:[RTBSerial1/0]baudrate 2048000 在RTB上執(zhí)行該命令后,有信息提示:Serial1/0: Baudrate can only be set on the DCE,意思即為只能在DCE側(cè)修改接口的波特率即傳輸速率然后配置將RTA的接口S1/0的傳輸速率修改為 2Mbps,請在如下的空格中補充完整的配置命令:[RTASerial1/0]baudrate 2048000 配置完成后通過display interface Serial 1/0命令查看接口Serial1/0的信息,根據(jù)其輸出信息可以看到[RTASerial5/0]display int s5/0Serial5/0 current state: UPLine protocol current state: UPDescription: Serial5/0 InterfaceThe Maximum Transmit Unit is 1500, Hold timer is 10(sec)Internet protocol processing : disabledLink layer protocol is PPPLCP openedOutput queue : (Urgent queuing : Size/Length/Discards) 0/100/0Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0Physical layer is synchronous, Baudrate is 2048000 bps 在RTA的接口Serial 1/0下作如下配置:[RTASerial1/0]physicalmode async如上配置命令的含義是配置該物理接口工作在異步方式下一般情況下。結(jié)果如下:[RTASerial5/0]physicalmode async%Dec 30 15:55:24:743 2012 RTA IFNET/3/LINK_UPDOWN: Serial5/0 link status is DOWN.%Dec 30 15:55:24:743 2012 RTA IFNET/5/LINEPROTO_UPDOWN: Line protocol on the interface Serial5/0 is DOWN.[RTASerial5/0]%Dec 30 15:55:26:172 2012 RTA IFNET/3/LINK_UPDOWN: Serial5/0 link status is UP.[RTASerial5/0]%Dec 30 15:55:26:172 2012 RTA IFNET/3/LINK_UPDOWN: Serial5/0 link status is UP.在s1/0這個問題上出現(xiàn)很多錯誤,不是S1/0而是s5/0,有些記不住,接線式s端口是在后面連線不是在全面,前面的是接口視圖的線。在老師的指導下完成了本實驗。 實驗的總結(jié)做完本實驗熟悉的掌握了廣域網(wǎng)接口和線纜,根據(jù)步驟一步一步往下做,遇到問題先是自己解決,實在不行就和同學老師研究和討論下。最為記得的是知道了DCE和DTE端。15實驗四 HDLC 實驗內(nèi)容與目標完成本實驗,應該能夠達到以下目標 實驗組網(wǎng)圖本實驗按照實驗圖41進行組網(wǎng)步驟一:運行超級終端并初始化路由器配置將PC(或終端)的串口通過標準Console電纜與交換機的Console口連接。電纜的RJ45頭一端連接路由器的Console口;9針RS232接口一端連接計算機的串行口。進行初始化,使實驗不受外界的影響。步驟二:依據(jù)規(guī)劃建立兩臺路由器之間的物理連接將兩臺路由器的S1/0接口通過V35電纜連接,然后在RTA上執(zhí)行命令display interface serial1/0,根據(jù)其輸出信息可以看到:在RTB上執(zhí)行同樣的命令并查看如上信息[H3C]sysname RTB[RTB]dis int s5/0Serial5/0 current state: UPLine protocol current state: UPDescription: Serial5/0 InterfaceThe Maximum Transmit Unit is 1500, Hold timer is 10(sec)Internet protocol processing : disabledLink layer protocol is PPP步驟三:配置路由器廣域網(wǎng)上封裝HDLC協(xié)議在RTA上配置廣域網(wǎng)接口S1/0封裝HDLC協(xié)議,請補充完整的配置命令:然后在RTA上執(zhí)行命令display interface serial1/0,根據(jù)其輸出信息可以看到:在RTB上執(zhí)行同樣的命令并查看如上信息步驟四:配置路由器廣域網(wǎng)接口IP地址在RTA上配置廣域網(wǎng)接口S1/0的IP地址。請補充完整的配置命令:在RTB上也完整廣域網(wǎng)接口IP地址配置在RTA的S1/0接口模式視圖下,執(zhí)行命令display this,可以看到interface Serial1/0 linkprotocol hdlc ip address ,根據(jù)此信息檢查并核實配置的正確性。在RTB的S1/0接