版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、交換和思科的Catalyst交換機, 2002, Cisco Systems, Inc. All rights reserved.,2,基本二層交換機和橋的功能,地址學(xué)習(xí) 轉(zhuǎn)發(fā)/過濾決定 回路避免,以太網(wǎng)交換機和橋,Cut-Through 交換機檢測到目標(biāo)地址后即轉(zhuǎn)發(fā)幀,Fragment-Free 片斷轉(zhuǎn)發(fā) (直通轉(zhuǎn)發(fā)的修訂版)Cat1900 的缺省模式 交換機檢測到幀的前64字節(jié)后即轉(zhuǎn)發(fā),Store and Forward 完整地收到幀并檢查無錯后才轉(zhuǎn)發(fā),幀交換方式,存貯轉(zhuǎn)發(fā),幀交換方式,MAC 地址表,最初開機時MAC地址表是空的,地址學(xué)習(xí),主機A發(fā)送數(shù)據(jù)幀給主機C 交換機通過學(xué)習(xí)數(shù)據(jù)幀的
2、源MAC地址,記錄下主機A的MAC地址 對應(yīng)端口E0 該數(shù)據(jù)幀轉(zhuǎn)發(fā)到除端口E0以外的其它所有端口 (不清楚目標(biāo)主機的單點傳送用泛洪方式),地址學(xué)習(xí) (Cont.),主機D發(fā)送數(shù)據(jù)幀給主機C 交換機通過學(xué)習(xí)數(shù)據(jù)幀的源MAC地址,記錄下主機D的MAC地址對應(yīng)端口E03 該數(shù)據(jù)幀轉(zhuǎn)發(fā)到除端口E3以外的其它所有端口 (不清楚目標(biāo)主機的單點傳送用泛洪方式),過濾幀,交換機A發(fā)送數(shù)據(jù)幀給主機C 在地址表中有目標(biāo)主機,數(shù)據(jù)幀不會泛洪而直接轉(zhuǎn)發(fā),過濾幀(Cont.),站A發(fā)送幀給站 交換機在MAC表中有站B的地址.,廣播幀和多點傳送幀,主機D發(fā)送廣播幀或多點幀 廣播幀或多點幀泛洪到除源端口外的所有端口,系統(tǒng)啟
3、動例程初始化交換機軟件 初始化啟動使用默認的配置參數(shù).,交換機的初始化啟動,啟動交換機前檢查連線和控制臺連接,電源線接入交換機電源插槽,觀察啟動順序 LED燈 IOS軟件輸出內(nèi)容,Catalyst 2950 Switch LED 指示,交換機的指示燈,交換機POST時端口 LED燈狀態(tài),1. 交換機啟動,所有的端口LED燈變綠. 2. 測試結(jié)束后所有端口LED 燈熄滅. 3. 如果測試失敗, LED 燈變?yōu)殓晟? 4. 任何測試項目失敗, 系統(tǒng)LED 燈都變?yōu)殓晟? 5. 如果測試成功, POST結(jié)束. 6. POST結(jié)束時, LED閃爍后熄滅.,Catalyst 2950 Switch初
4、始化啟動輸出,- System Configuration Dialog - At any point you may enter a question mark ? for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets . Continue with configuration dialog? yes/no: yes Enter IP address: ip_address Enter IP netmask: ip_netmask Wo
5、uld you like to enter a default gateway address? yes: yes IP address of the default gateway: ip_address Enter a host name: host_name Enter enable secret: secret_password Would you like to configure a Telnet password? yes yes Enter Telnet password: telnet_password Would you like to enable as a cluste
6、r command switch? no Enter cluster name: cls_name,登錄到交換機后輸入使能密碼,上下文敏感幫助,控制臺錯誤信息指示,指出任何交換機命令問題以便修改更正輸入的命令,容許召回較長的、復(fù)雜的命令或回顧、修改、免重新輸入使用過的命令,命令歷史緩存器,提供針對命令的補全、參數(shù)列表,交換機命令行幫助方式,配置模式: 全局配置模式 wg_sw_a#configure terminal wg_sw_a(config)# 接口配置模式 wg_sw_a(config)#interface e0/1 wg_sw_a(config-if)#,配置交換機,設(shè)置交換機的本地
7、識別名,配置交換機的辨別名,查看交換機初始化啟動狀態(tài),wg_sw_a#show version,顯示系統(tǒng)硬件、軟件版本,名字、配置文件來源和系統(tǒng)引導(dǎo)影像文件,wg_sw_a#show running-configuration,顯示交換機當(dāng)前活動的配置文件,wg_sw_a#show interfaces,顯示交換機所有配置接口的統(tǒng)計,wg_sw_a#show ip,顯示交換機IP地址、子網(wǎng)掩碼、默認網(wǎng)關(guān)等,交換機 show version 命令,wg_sw_a#show version Cisco Catalyst 1900/2820 Enterprise Edition Software V
8、ersion V8.01.01 written from 171.068.229.225 Copyright (c) Cisco Systems, Inc. 1993-2001 wg_sw_c uptime is 15day(s) 21hour(s) 53minute(s) 11second(s) cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memory Hardware board revision is 5 Upgrade Status: No upgrade currently in progress.
9、 Config File Status: No configuration upload/download is in progress 27 Fixed Ethernet/IEEE 802.3 interface(s) Base Ethernet Address: 00-50-BD-73-E2-C0,wg_sw_a#show interfaces ethernet 0/1 Ethernet 0/1 is Enabled Hardware is Built-in 10Base-T Address is 0050.BD73.E2C1 MTU 1500 bytes, BW 10000 Kbits
10、802.1d STP State: Forwarding Forward Transitions: 1 Port monitoring: Disabled Unknown unicast flooding: Enabled Unregistered multicast flooding: Enabled Description: Duplex setting: Half duplex Back pressure: Disabled -More-,交換機show interfaces 命令, 2002, Cisco Systems, Inc. All rights reserved.,24,Co
11、nfiguring a Catalyst Switch,IP address: 0.0.0.0 CDP: enabled 100baseT port: 自動協(xié)商 雙工模式 Spanning tree: enabled Console password: 無,Catalyst 1900 and 2950 默認配置,wg_sw_2950#show run Building configuration. Current configuration: ! ! interface FastEthernet0/1 ! interface FastEthernet0/2,wg_sw_2950#show sp
12、antree Interface Fa0/1 (port 7) in Spanning tree 1 is FORWARDING Port path cost 19, Port priority 128 Designated root has priority 32768, address 0008.a445.c980 Designated bridge has priority 32768, address 0008.a445.c980 Designated port is 7, path cost 0 Timers: message age 0, forward delay 0, hold
13、 0 BPDU: sent 8316, received 4,wg_sw_2950#show vlan VLAN Name Status Ports - - - - 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24,Catalyst 2950交換機上的
14、端口名,wg_sw_1900(config)#ip address 10.5.5.11 255.255.255.0,wg_sw_1900(config)#ip address ip_address mask,配置交換機的IP地址,配置交換機的IP地址和子網(wǎng)掩碼,Catalyst 1900,wg_sw_2950(config)#interface vlan 1 wg_sw_2950(config-if)#ip address 10.5.5.11 255.255.255.0,wg_sw_2950(config-if)#ip address ip_address mask,在交換機的VLAN1接口上
15、配置IP地址及子網(wǎng)掩碼,Catalyst 2950,wg_sw_a(config)# ip default-gateway ip address,配置交換機的默認網(wǎng)關(guān)(Catalyst 1900 和 2950 switches ),配置交換機的默認網(wǎng)關(guān),wg_sw_a(config)#ip default-gateway 10.5.5.3,查看交換機的IP地址,Catalyst 1900,Catalyst 2950,wg_sw_1900#show ip IP address: 10.5.5.11 Subnet mask: 255.255.255.0 Default gateway: 10.5.
16、5.3 Management VLAN: 1 wg_sw_a#,wg_sw_2950#show interface vlan 1 Vlan1 is up, line protocol is up Hardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800) Internet address is 172.16.80.79/24 Broadcast address is 255.255.255.255 . . . wg_sw_2950#,雙工概覽,半雙工Half Duplex (CSMA/CD
17、) 單向數(shù)據(jù)流(Unidirectional data flow) 沖突概率高 Hubs 連通,全雙工Full Duplex 點對點連接 連接在專門的交換機端口 要求兩端都具有全雙工支持 無沖突 取消沖突檢測電路,wg_sw_1900(config)#interface e0/1 wg_sw_1900(config-if)#duplex auto | full | full-flow-control | half,設(shè)置雙工選項,Catalyst 1900,Catalyst 2950,wg_sw_2950(config)#interface fe0/1 wg_sw_2950(config-if)
18、#duplex auto | full | half,查勘雙工選項,Switch#show interfaces fastethernet0/3 FastEthernet0/3 is up, line protocol is down Hardware is Fast Ethernet, address is 0000.0000.0003 (bia 0000.0000.0003) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation
19、ARPA, loopback not set Keepalive set (10 sec) Half-duplex, 10Mb/s input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 d
20、rops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble c
21、ondition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out,wg_sw_1900#show mac-address-table Number of permanent addresses : 0 N
22、umber of restricted static addresses : 0 Number of dynamic addresses : 6 Address Dest Interface Type Source Interface List - 00E0.1E5D.AE2F Ethernet 0/2 Dynamic All 00D0.588F.B604 FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2B FastEthernet 0/26 Dynamic All 0090.273B.87A4 FastEthernet 0/26 Dynamic All
23、00D0.588F.B600 FastEthernet 0/26 Dynamic All 00D0.5892.38C4 FastEthernet 0/27 Dynamic All,管理MAC地址表,Catalyst 1900,Catalyst 2950,wg_sw_1900(config)#mac-address-table permanent 2222.2222.2222 ethernet 0/3 wg_sw_1900#show mac-address-table Number of permanent addresses : 1 Number of restricted static ad
24、dresses : 0 Number of dynamic addresses : 4 Address Dest Interface Type Source Interface List - 00E0.1E5D.AE2F Ethernet 0/2 Dynamic All 2222.2222.2222 Ethernet 0/3 Permanent All 00D0.588F.B604 FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2B FastEthernet 0/26 Dynamic All 00D0.5892.38C4 FastEthernet 0/27
25、 Dynamic All,wg_sw_1900(config)#mac-address-table permanent mac-address type module/port,配置永久MAC地址,wg_sw_2950(config)#mac-address-table static mac_addr vlan vlan_id interface int1 int2 . int15,Catalyst 1900 and 2950,Catalyst 2950 only,wg_sw_2950#mac-address-table secure 0003.3333.3333 fa 0/1 vlan 1
26、wg_sw_2950#show mac-address-table Dynamic Address Count: 1 Secure Address Count: 1 Static Address (User-defined) Count: 1 System Self Address Count: 25 Total MAC addresses: 28 Maximum MAC addresses: 8192 Non-static Address Table: Destination Address Address Type VLAN Destination Port - - - - 0050.0f02.3372 Dynamic 1 FastEthernet0/2 0003.3333.3333 Secure 1 FastEthernet0/1 Static Address Table: Destination Address VLAN Input Port Output Ports - - - - 2222.2222.2222 1 ALL Fa0/1,在 Catalyst 2950上配置受限靜態(tài)MAC地址,wg_sw_2950(config)#mac-addre
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 貴州城市職業(yè)學(xué)院《西醫(yī)外科學(xué)醫(yī)學(xué)免疫學(xué)與病原生物學(xué)》2023-2024學(xué)年第一學(xué)期期末試卷
- 貴州財經(jīng)大學(xué)《藏族文化概論》2023-2024學(xué)年第一學(xué)期期末試卷
- 2025青海省安全員-B證考試題庫附答案
- 2025安徽省建筑安全員《A證》考試題庫及答案
- 貴陽人文科技學(xué)院《形式化方法導(dǎo)論》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣州珠江職業(yè)技術(shù)學(xué)院《機能學(xué)實驗(二)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣州新華學(xué)院《工業(yè)機器人基礎(chǔ)操作與編程實訓(xùn)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣州衛(wèi)生職業(yè)技術(shù)學(xué)院《分子與細胞生物學(xué)檢測技術(shù)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣州鐵路職業(yè)技術(shù)學(xué)院《建筑及環(huán)境設(shè)計方法學(xué)》2023-2024學(xué)年第一學(xué)期期末試卷
- 2025年江西省安全員《B證》考試題庫
- 工程力學(xué)課后習(xí)題答案1
- 6S視覺管理之定置劃線顏色管理及標(biāo)準樣式
- 四年級數(shù)學(xué)(除數(shù)是兩位數(shù))計算題專項練習(xí)及答案
- 中考字音字形練習(xí)題(含答案)-字音字形專項訓(xùn)練
- 社區(qū)矯正個別教育記錄內(nèi)容范文
- 常見婦科三大惡性腫瘤的流行及疾病負擔(dān)研究現(xiàn)狀
- CTD申報資料撰寫模板:模塊三之3.2.S.4原料藥的質(zhì)量控制
- (正式版)JTT 1482-2023 道路運輸安全監(jiān)督檢查規(guī)范
- 圍手術(shù)期血糖的管理
- 2024年度醫(yī)療器械監(jiān)督管理條例培訓(xùn)課件
- 100以內(nèi)不進位不退位加減法練習(xí)題
評論
0/150
提交評論