200 likes | 415 Views
Cisco Lab. 2012-09-17. 大綱. Switch 交換器原理 (Hub 、 Switch) Hub : LAB-1 Switch : LAB-2 基本操作 EXEC&Show : LAB-3 Configure : LAB-4. 大綱. Layer 2 : Single-LAN Single-LAN : LAB-5 Layer 2 : Multi-LAN Multi-LAN : LAB-6 Homework – 1 Homework – 2. Switch 交換器原理. Address Learning
E N D
Cisco Lab 2012-09-17
大綱 • Switch 交換器原理(Hub、Switch) • Hub:LAB-1 • Switch:LAB-2 • 基本操作 • EXEC&Show:LAB-3 • Configure:LAB-4
大綱 • Layer 2:Single-LAN • Single-LAN:LAB-5 • Layer 2:Multi-LAN • Multi-LAN:LAB-6 • Homework – 1 • Homework – 2
Switch 交換器原理 • Address Learning • MAC Address Table • Aging time • Packet Forwarding / Filtering
Dynamic MAC Address - Broadcast A C 0260.8c01.1111 0260.8c01.3333 E1 E3 E4 E2 D B 0260.8c01.2222 0260.8c01.4444
Dynamic MAC Address - Broadcast A C 0260.8c01.1111 0260.8c01.3333 E1 E3 E4 E2 D B 0260.8c01.2222 0260.8c01.4444
DynamicMAC Address - ARP MAC Address Table E1:0260.8c01.1111 A C E1 E3 Host A ARP E4 E2 D B Host B ARP 0260.8c01.1111 192.168.1.1
Dynamic MAC Address - ARP MAC Address Table E1:0260.8c01.1111 A C E2:0260.8c01.2222 E1 E3 Host A ARP E4 E2 192.168.1.2 0260.8c01.2222 D B Host B ARP 0260.8c01.1111 192.168.1.1
基本操作 • EXEC Session • User EXEC Level • Privileged EXEC Level • Configuration Mode • Show • Configuration • save
基本操作 - EXEC Session • Step 1 : Switch> • Step 2 : Switch>enable • Step 3 : Switch#configure terminal • Step 4 : Switch(config)#
基本操作 - Show • show ? • show version • show ver + [tab] • Show ver • show running-config / startup-config • show mac address-table • show interface ?
基本操作 - Show • show user • show history • Ctrl-p / up-arrow key • Ctrl-n / down arrow key • show clock • show logging
基本操作 - Configuration • Hostname • Time • Clock set • NTP (Timezone / NTP Server) • Interface • Shutdown / No Shutdown • Set IP Address
基本操作 - Configuration • Console / VTY • Password (login / enable) • Password Encryption • Default Gateway • Domain Name System • (no) ip domain-lookup • ip name-server
Single-LAN Mac Address Table Mac Address Table E1: 260.8c01.1111 E1: 260.8c01.1111 E3 E1 E3 E1 E2 E4
Single-LAN Mac Address Table Mac Address Table E1: 260.8c01.1111 E1: 260.8c01.1111 E3: 260.8c01.4444 E4: 260.8c01.4444 E3 E1 E3 E1 E2 E4
Multi-LAN • VLAN (Virtual Local Area Network) • Trunk • VTP Mode
Multi-LAN - VLAN VLAN 1 VLAN 3 VLAN 2
Homework - 1 • 使用HW-1.pkt • 設定Switch Hostname • 與Lab上switch名稱相同 • Password • Con0、VTY:cisco • Enable:CISCO • 密碼需加密 • 新增VLAN • VLAN 99 • VLAN Name:VLAN_99 • 管理用VLAN,IP請自訂,但MNG-1設備必須能telnet到Switch進行管理 • VLAN 10、VLAN 11 • VLAN Name:VLAN_10、VLAN_11 • PC0、PC1、PC2在VLAN_10 • PC3、PC4、PC5在VLAN_11
Homework - 2 • 使用HW-2.pkt • 請先使用PING測試各PC間的連線 • 請再加上一條跳線連接Switch0及Switch1 • 再次使用PING測試各PC間的連線 • 使用模擬器的Simulation觀察封包的流向 • 請說明是什麼原因造成在多接上一條線後會造成PC間無法連線?