


下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
Switch>enable
Switch#configure
Configuringfromterminal,memory,ornetwork[terminal]?
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#intf0/1
Switch(config-if)#swmodetrunk
Switch(config-if)#exit
Switch(config)#intf1/1
Switch(config-if)#swaccessvlan10
Switch(config)#intf2/1
Switch(config-if)#swaccessvlan20
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
Switch#showvlan
VLANNameStatusPorts
----------------------------------------------------------------------------
1defaultactiveFa3/1,Fa4/1,Fa5/1
10VLAN0010activeFa1/1
20VLAN0020activeFa2/1
1002fddi-defaultact/unsup
1003token-ring-defaultact/unsup
1004fddinet-defaultact/unsup
1005trnet-defaultact/unsup
VLANTypeSAIDMTUParentRingNoBridgeNoStpBrdgModeTrans1Trans2
--------------------------------------------------------------------
1enet1000011500-----00
10enet1000101500-----00
20enet1000201500-----00
1002fddi1010021500-----00
1003tr1010031500-----00
1004fdnet1010041500---ieee-00
1005trnet1010051500---ibm-00
RouterA
Router>enable
Router#configure
Configuringfromterminal,memory,ornetwork[terminal]?
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#intf0/0
Router(config-if)#noipaddress
Router(config-if)#noshut
%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup
%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoup
Router(config-if)#intf0/0.10
Router(config-subif)#
%LINK-5-CHANGED:InterfaceFastEthernet0/0.10,changedstatetoup
%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0.10,changedstatetoup
Router(config-subif)#endot1Q10
Router(config-subif)#ipaddress192.168.1.254255.255.255.0
Router(config-subif)#noshut
Router(config-subif)#exit
Router(config)#intf0/0.20
Router(config-subif)#
%LINK-5-CHANGED:InterfaceFastEthernet0/0.20,changedstatetoup
%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0.20,changedstatetoup
Router(config-subif)#endot1Q20
Router(config-subif)#ipaddress192.168.2.254255.255.255.0
Router(config-subif)#noshut
Router(config-subif)#end
Router#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
Router#showipintbrief
InterfaceIP-AddressOK?MethodStatusProtocol
FastEthernet0/0unassignedYESmanualupup
FastEthernet0/0.10192.168.1.254YESmanualupup
FastEthernet0/0.20192.168.2.254YESmanualupup
FastEthernet1/0unassignedYESmanualadministrativelydowndown
Serial2/0unassignedYESmanualadministrativelydowndown
Serial3/0unassignedYESmanualadministrativelydowndown
FastEthernet4/0unassignedYESmanualadministrativelydowndown
FastEthernet5/0unassignedYESmanualadministrativelydowndown
Router#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#ints2/0
Router(config-if)#ipadd202.196.1.1255.255.255.0
Router(config-if)#clockrate64000
Router(config-if)#noshut
%LINK-5-CHANGED:InterfaceSerial2/0,changedstatetodown
Router(config-if)#exit
Router(config)#routerospf1
Router(config-router)#network192.168.1.00.0.0.255area1
Router(config-router)#network192.168.2.00.0.0.255area2
Router(config-router)#network202.196.1.00.0.0.255area0
ROUTERB
Continuewithconfigurationdialog?[yes/no]:no
PressRETURNtogetstarted!
Router>enable
Router#configure
Configuringfromterminal,memory,ornetwork[terminal]?
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#ints2/0
Router(config-if)#ipadd202.196.1.2255.255.255.0
Router(config-if)#noshut
Router(config-if)#
%LINK-5-CHANGED:InterfaceSerial2/0,changedstatetoup
Router(config-if)#
%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetoupexit
Router(config)#intf0/0
Router(config-if)#ipadd192.168.3.254255.255.255.0
Router(config-if)#noshut
Router(config-if)#
%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup
%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoup
Router(config-if)#exit
Router(config)#routerospf1
Router(config-router)#net192.168.3.00.0.0.255area2
Router(config-router)#net202.196.1.00.0.0.255area0
Router(config-router)#end
00:39:23:%OSPF-5-ADJCHG:Process1,Nbr202.196.1.1onSerial2/0fromLOADINGtoFULL,LoadingDone
Router#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsolesh
%Incompletecommand.
Router#showipospfneighbor
NeighborIDPriStateDeadTimeAddressInterface
202.196.1.10FULL/-00:00:38202.196.1.1Serial2/0
通過pc3pingPCA和PCB,結果為
PacketTracerPCCommandLine1.0
PC>ping192.168.2.1
Pinging192.168.2.1with32bytesofdata:
Replyfrom192.168.2.1:bytes=32time=187msTTL=126
Replyfrom192.168.2.1:bytes=32time=127msTTL=126
Replyfrom192.168.2.1:bytes=32time=157msTTL=126
Replyfrom192.168.2.1:bytes=32time=136msTTL=126
Pingstatisticsfor1
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 企業(yè)員工培訓管理
- 挑戰(zhàn)杯比賽流程
- 2025年高二政治下冊復習知識點總結模版
- 《美麗的小興安嶺》教案-教師工作計劃總結模版
- 阿勒泰職業(yè)技術學院《舞蹈編導一》2023-2024學年第二學期期末試卷
- 隴南師范高等??茖W?!冬F(xiàn)代生物醫(yī)藥進展》2023-2024學年第二學期期末試卷
- 陜西師范大學《硬筆書法》2023-2024學年第一學期期末試卷
- 陜西服裝工程學院《表演(音樂?。?023-2024學年第二學期期末試卷
- 陜西省咸陽市興平市2025年三年級數(shù)學第二學期期末預測試題含解析
- 公共管理第三講泰勒的科學管理理論
- 2024年大學生信息素養(yǎng)大賽培訓考試題庫500題(含答案)
- 河南省豫西北教研聯(lián)盟(許洛平)2025屆高三上學期第一次質量檢測(一模)英語試題(含答案含聽力原文無音頻)
- 2024年商業(yè)經(jīng)濟行業(yè)技能考試-黃金交易從業(yè)水平考試近5年真題集錦(頻考類試題)帶答案
- 2024制冷系統(tǒng)管路結構設計指導書
- 六年級語文下冊14文言文二則《學弈》課件
- 機械制圖基本知識
- 軟件工程外文翻譯文獻
- 2024年中考英語復習1600詞背誦單按字母排序
- 婚內(nèi)保證書模板
- 2024年貴州省黔東南州中考文科綜合試卷
- 電鍍鋅知識試題
評論
0/150
提交評論