Académique Documents
Professionnel Documents
Culture Documents
Mr.Kriangsak Namkot
jodoi@jodoi.com
jodoi1819@hotmail.com
http://www.jodoi.com
Day 2
– Address learning
– Forward/filter decision
– Loop avoidance
Transmitting Frames
Cut-Through Store and Forward
• Switch checks destination Complete frame is received
address and immediately and checked before
begins forwarding frame. forwarding.
Fragment-Free
• Switch checks the first 64 bytes,
then immediately
begins forwarding frame.
MAC Address Table
Switch(config-if)#switchport port-security ?
mac-address Secure mac address
maximum Max secure addresses
violation Security violation mode
<cr>
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.96DC.1A62
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32770 sys-id-ext 1)
Address 0010.1116.A3A4
Aging Time 300
• Creates VLANs
• Forwards • Modifies VLANs
advertisements • Deletes VLANs
• Synchronizes • Forwards
• Not saved in advertisements
NVRAM • Does not
synchronize
• Saved in NVRAM
30
VTP Operation
• IP address: 0.0.0.0
• CDP: enabled
• 100baseT port: autonegotiate duplex mode
• Spanning tree: enabled
• Console password: none
Configuration Switch
ลบ config
# erase start up
# reload
ตรวจสอบ config
#show running-config
#show spanning-tree
#show vlan
#show interfaces status
#show mac-address-table
#show ip int brief
Configuration Switch 2950
Vlan 1 default
จะใช้ Vlan ได้ ตั้งแต่ vlan 2 – 4096
การ config
Switch#show vlan
Switch#vlan database
Switch(vlan)#vlan 2 name aaa
Switch(vlan)#vlan 3 name bbb
Switch#config terminal
Switch(config)#interface FastEthernet 0/1-24
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Configuration Switch 2960
Vlan 1 default
การ config
Switch#config t
Switch(config)#vlan 2
Switch(config-vlan)#name Sales
Switch (config-vlan)#vlan 3
Switch (config-vlan)#name Marketing
Switch(config)#interface FastEthernet 0/1-24
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Configuration Switch 2950,2960
Config trunk
Switch#config terminal
Switch(config)#interface fastethernet 0/3
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk encapsulation dot1q ,isl
Cisco only
หมายเหตุ Switch 2960 เมื่อ set เป็น trunk ค่า encapsulation จะเป็น
dot1q อยู่แล้ว จึงไม่ต้อง set #switchport trunk
encapsulation dot1q
Configuration Switch 2950,2960
VLAN Trunking Protocol (VTP)
Switch#vlan database
Switch(vlan)#vtp server, client , transparent
Switch(vlan)#vtp domain jodoi
Switch(vlan)#vtp password password
หรือ
Switch#config ter
Switch(vlan)#vtp mode server, client , transparent
Switch(vlan)#vtp domain jodoi
Switch(vlan)#vtp password password
Presentation
Session
Transport
Network IP/IPX/AppleTalk, etc.
Data-Link Frame Relay
EIA/TIA-232,
Physical EIA/TIA-449, V.35,
X.21, EIA/TIA-530
Frame Relay Terminology
Selecting a Frame Relay
Topology
• Remote access VPNs Remote access VPNs allow remote users like
telecommuters to securely access the corporate network wherever an
d whenever they need to.