SlideShare a Scribd company logo
Switching
Networking Essentials – Eric Vanderburg © 2005
Port Security
Switchport port security mac-address
mac-address
 Switchport port security mac-address
sticky – learn first MAC used and restrict
to that one

Switch modes
Store & forward – waits until entire frame
is analyzed to forward
 Fragment free – looks at first 64 bytes
before forwarding
 Cut through – forwards ASAP
 Adaptive cut through – acts like cut
through unless many errors are
encountered. If so, switches to store &
forward
 Switching-mode store-and-forward

STP
802.1d
 Used to reduce forwarding loops
 Allows redundancy without looping
 Elects root bridge based on lowest
bridge ID (MAC & priority)
 Root ports are put in forwarding state,
others in blocking
 Root switch enables all ports

Other features
EtherChannel – allows multiple trunk
links to be used as one (2-8 links)
 PortFast – ports connected to hosts can
be enabled at once as soon as the first
frame is received

RSTP
802.1w
 Faster convergance
 PortFast & Etherchannel are both built-in
 Does not work when hubs are on the
network
 Can negotiate a new path to root
automatically without a link going down
first

VLANs
Segment into multiple broadcast
domains
 Requires layer 3 device to send data
between VLANs
 Requires trunking to move data to
VLANs spread between switches

Trunking


ISL (Inter-Switch Link)




IEEE 802.1q





encapsulates
Default VLAN
Changes header

Trunk Types





On
Off
Desirable
Auto
VTP
VTP allows configuration changes to be
propagated to other switches in the
same domain
 VTP modes


Server mode
 Client mode
 Transparent mode




VTP pruning – does not send VTP info to
a switch that has no ports in that VLAN
Switch commands


Interface fastethernet 0/0









Duplex full / half / auto
Speed 10 / 100 / 1000 / auto
Spanning-tree cost cost – changes priority
Channel-group # - enables etherchannel

Show spanning-tree – view info on rootID,
bridgeID, & ports that are blocking or
forwarding
Show vtp status – shows number of VLANs,
operating mode for this device, & domain
name,
Trunking


interface fastethernet 0.1
encapsulation isl 1
 encapsulation dot1q 2 (do not set for main
interface because that will be default vlan)

VLAN comands


Vlan database








SW1(vlan)#
Vlan 1 name Test
Vlan 2 name Sample
Vtp domain SampleDomain
Exit – must exit for changes to take place

Vtp pruning – turns pruning on in global config


Interface fastethernet 0/0





Switchport mode access – not trunk
Switchport access vlan 1

Interface range fastethernet 0/1 – 10
1900 switch


Interface fastethernet 0/0
Vlan-membership static 2
 Exit




Set up vlans in configure terminal
instead of vlan database
Trunking commands


Interface fastethernet 0/0
Switchport mode dynamic desirable
 Switchport mode dynamic auto
 Switchport mode trunk
 Switchport mode access




Interface ethernet 0.2
Encapsulation isl vlan#
 Encapsulation dot1q vlan#


More Related Content

PDF
Quick Guide Layer 2 Switching
PDF
Overview of Spanning Tree Protocol
PDF
Spanning Tree Protocol Cheat Sheet
PDF
LiveAction Spanning Tree Protocol (STP) Application Note
PDF
2.3.1.5 packet tracer configuring rapid pvst+ answer
PPT
Protocolo Spanning Tree
PPTX
Spanning tree protocol
PPTX
Spanning tree protocol
Quick Guide Layer 2 Switching
Overview of Spanning Tree Protocol
Spanning Tree Protocol Cheat Sheet
LiveAction Spanning Tree Protocol (STP) Application Note
2.3.1.5 packet tracer configuring rapid pvst+ answer
Protocolo Spanning Tree
Spanning tree protocol
Spanning tree protocol

What's hot (20)

DOCX
Packet Tracer: Cisco, Spanning tree protocol
PPTX
Attacking the spanning tree protocol
PDF
Spanning tree protocol (stp)
PPTX
Stp premdeep gill-lu045310-14aug12
PPT
Spanning Tree Protocol
PDF
Composants et fonctionnement d'un Switch Cisco
PPT
Spannig tree
PPTX
Spanning Tree Protocol (STP)
PPTX
Proper spanning tree.pptx
PDF
RSTP (rapid spanning tree protocol)
PDF
Difference b/w STP RSTP PVST & MSTP
PPTX
Week 9 VLAN, SISTIM INFORMASI MANAGEMEN
PPT
07 module extending switched netwroks with virtual la ns
PPT
Layer 2 switching fundamentals(networking)
PDF
Configure vtp
DOCX
Vlan and vtp
PPT
Alp Stp
PDF
Odl010024 qin q laboratory exercise guide issue1
Packet Tracer: Cisco, Spanning tree protocol
Attacking the spanning tree protocol
Spanning tree protocol (stp)
Stp premdeep gill-lu045310-14aug12
Spanning Tree Protocol
Composants et fonctionnement d'un Switch Cisco
Spannig tree
Spanning Tree Protocol (STP)
Proper spanning tree.pptx
RSTP (rapid spanning tree protocol)
Difference b/w STP RSTP PVST & MSTP
Week 9 VLAN, SISTIM INFORMASI MANAGEMEN
07 module extending switched netwroks with virtual la ns
Layer 2 switching fundamentals(networking)
Configure vtp
Vlan and vtp
Alp Stp
Odl010024 qin q laboratory exercise guide issue1
Ad

Viewers also liked (12)

PPT
CCNA Security 07-Securing the local area network
PPT
PPTX
PPTX
Cisco CCNA Port Security
PPT
Vlans
PPTX
Network Fundamentals: Ch9 - Ethernet
PPTX
LAN Switching and Wireless: Ch1 - LAN Design
PPTX
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
PPT
CCNA Security 02- fundamentals of network security
PPTX
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
PPT
Vlan
CCNA Security 07-Securing the local area network
Cisco CCNA Port Security
Vlans
Network Fundamentals: Ch9 - Ethernet
LAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
CCNA Security 02- fundamentals of network security
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
Vlan
Ad

Similar to CCNA Routing and Switching Lesson 13 - Switching - Eric Vanderburg (20)

PPTX
Switching techniques in networking and uses
PDF
Switching
PPTX
PPT
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
PDF
PPT
C C N A Day4
PPTX
Enterprise network design multi layer network and security.pptx
PPT
EOS Principle and description in SDH 37p.ppt
PPTX
Dc fabric path
PPTX
PDF
Ccna free chapter
PPT
Lec1 lan switching
PPTX
9-STP-Collision Domain, Broadcast Domain.pptx
PPTX
STP protocols in Layer 2 cheat sheet.pptx
PDF
CCNA R&S-12-Spanning Tree Protocol Concepts
PPTX
LECTURE 02 (b).pptxnnnnnnnnnnnnnnnnnnnnn
PDF
Cisco discovery drs ent module 3 - v.4 in english.
PPTX
Cisco Switch details required to troubleshoot PPT.pptx
PPTX
EMEA Airheads- Switch stacking_ ArubaOS Switch
PPTX
New Microsoft PowerPoint Presentation (2).pptx
Switching techniques in networking and uses
Switching
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
C C N A Day4
Enterprise network design multi layer network and security.pptx
EOS Principle and description in SDH 37p.ppt
Dc fabric path
Ccna free chapter
Lec1 lan switching
9-STP-Collision Domain, Broadcast Domain.pptx
STP protocols in Layer 2 cheat sheet.pptx
CCNA R&S-12-Spanning Tree Protocol Concepts
LECTURE 02 (b).pptxnnnnnnnnnnnnnnnnnnnnn
Cisco discovery drs ent module 3 - v.4 in english.
Cisco Switch details required to troubleshoot PPT.pptx
EMEA Airheads- Switch stacking_ ArubaOS Switch
New Microsoft PowerPoint Presentation (2).pptx

More from Eric Vanderburg (20)

PPTX
GDPR, Data Privacy and Cybersecurity - MIT Symposium
PPTX
Modern Security the way Equifax Should Have
PPTX
Cybercrime and Cyber Threats - CBLA - Eric Vanderburg
PPTX
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
PPTX
Mobile Forensics and Cybersecurity
PPTX
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
PPTX
Ransomware: 2016's Greatest Malware Threat
PPT
Emerging Technologies: Japan’s Position
PPT
Principles of technology management
PPT
Japanese railway technology
PPT
Evaluating japanese technological competitiveness
PPT
Japanese current and future technology management challenges
PPT
Technology management in Japan: Robotics
PPT
Incident response table top exercises
PPTX
The Prescription for Protection - Avoid Treatment Errors To The Malware Problem
PPTX
Cloud Storage and Security: Solving Compliance Challenges
PPTX
Hacktivism: Motivations, Tactics and Threats
PPTX
Correct the most common web development security mistakes - Eric Vanderburg
PPTX
Deconstructing website attacks - Eric Vanderburg
PPTX
Countering malware threats - Eric Vanderburg
GDPR, Data Privacy and Cybersecurity - MIT Symposium
Modern Security the way Equifax Should Have
Cybercrime and Cyber Threats - CBLA - Eric Vanderburg
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
Mobile Forensics and Cybersecurity
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
Ransomware: 2016's Greatest Malware Threat
Emerging Technologies: Japan’s Position
Principles of technology management
Japanese railway technology
Evaluating japanese technological competitiveness
Japanese current and future technology management challenges
Technology management in Japan: Robotics
Incident response table top exercises
The Prescription for Protection - Avoid Treatment Errors To The Malware Problem
Cloud Storage and Security: Solving Compliance Challenges
Hacktivism: Motivations, Tactics and Threats
Correct the most common web development security mistakes - Eric Vanderburg
Deconstructing website attacks - Eric Vanderburg
Countering malware threats - Eric Vanderburg

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
KodekX | Application Modernization Development
PDF
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology
Big Data Technologies - Introduction.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
KodekX | Application Modernization Development
Review of recent advances in non-invasive hemoglobin estimation

CCNA Routing and Switching Lesson 13 - Switching - Eric Vanderburg

  • 1. Switching Networking Essentials – Eric Vanderburg © 2005
  • 2. Port Security Switchport port security mac-address mac-address  Switchport port security mac-address sticky – learn first MAC used and restrict to that one 
  • 3. Switch modes Store & forward – waits until entire frame is analyzed to forward  Fragment free – looks at first 64 bytes before forwarding  Cut through – forwards ASAP  Adaptive cut through – acts like cut through unless many errors are encountered. If so, switches to store & forward  Switching-mode store-and-forward 
  • 4. STP 802.1d  Used to reduce forwarding loops  Allows redundancy without looping  Elects root bridge based on lowest bridge ID (MAC & priority)  Root ports are put in forwarding state, others in blocking  Root switch enables all ports 
  • 5. Other features EtherChannel – allows multiple trunk links to be used as one (2-8 links)  PortFast – ports connected to hosts can be enabled at once as soon as the first frame is received 
  • 6. RSTP 802.1w  Faster convergance  PortFast & Etherchannel are both built-in  Does not work when hubs are on the network  Can negotiate a new path to root automatically without a link going down first 
  • 7. VLANs Segment into multiple broadcast domains  Requires layer 3 device to send data between VLANs  Requires trunking to move data to VLANs spread between switches 
  • 8. Trunking  ISL (Inter-Switch Link)   IEEE 802.1q    encapsulates Default VLAN Changes header Trunk Types     On Off Desirable Auto
  • 9. VTP VTP allows configuration changes to be propagated to other switches in the same domain  VTP modes  Server mode  Client mode  Transparent mode   VTP pruning – does not send VTP info to a switch that has no ports in that VLAN
  • 10. Switch commands  Interface fastethernet 0/0       Duplex full / half / auto Speed 10 / 100 / 1000 / auto Spanning-tree cost cost – changes priority Channel-group # - enables etherchannel Show spanning-tree – view info on rootID, bridgeID, & ports that are blocking or forwarding Show vtp status – shows number of VLANs, operating mode for this device, & domain name,
  • 11. Trunking  interface fastethernet 0.1 encapsulation isl 1  encapsulation dot1q 2 (do not set for main interface because that will be default vlan) 
  • 12. VLAN comands  Vlan database       SW1(vlan)# Vlan 1 name Test Vlan 2 name Sample Vtp domain SampleDomain Exit – must exit for changes to take place Vtp pruning – turns pruning on in global config  Interface fastethernet 0/0    Switchport mode access – not trunk Switchport access vlan 1 Interface range fastethernet 0/1 – 10
  • 13. 1900 switch  Interface fastethernet 0/0 Vlan-membership static 2  Exit   Set up vlans in configure terminal instead of vlan database
  • 14. Trunking commands  Interface fastethernet 0/0 Switchport mode dynamic desirable  Switchport mode dynamic auto  Switchport mode trunk  Switchport mode access   Interface ethernet 0.2 Encapsulation isl vlan#  Encapsulation dot1q vlan# 