SlideShare a Scribd company logo
VLAN Technology
F o l l o w m e t o t a k e t h e N A c e r t i fi c a t e
CCNA - VLAN Technology
Make no less effort than anyone else!
LAN – Local Area Network
A collection of devices connected together in
one physical location, such as a building,
office, or home.
VLAN - Virtual Local Area Network
- Network Segmentation
- Flexibility
- Safety
- Data Link layer ( OSI Layer 2)
VLAN Definition
CCNA - VLAN Technology
Make no less effort than anyone else!
Broadcast domain : broadcast
message transmission range.
VLAN can isolate the broadcast
domain.
VLAN
10
VLAN
20 VLAN
20
A B
Broadcast Domain
CCNA - VLAN Technology
Make no less effort than anyone else!
Different VLAN = different broadcast domain.
Prevent broadcast storm.
VLAN 10
VLAN 20 VLAN 20
A B
Broadcast Domain
CCNA - VLAN Technology
Make no less effort than anyone else!
While VLAN divides broadcast domains, it also limits the ability of hosts
in different VLANs to communicate at Layer 2.
Can users in different VLAN with same subnet of IP access each other ?
VLAN 100
Switch
VLAN 200
10.1.1.100/24 10.1.1.101/24
Security of VLAN
CCNA - VLAN Technology
Make no less effort than anyone else!
Protect the network against dreaded insider attacks.
Example:
A malicious user on a given node can run a packet sniffer and begin capturing
all network traffic that traverses the switch to which he is physically connected.
Security of VLAN
CCNA - VLAN Technology
Make no less effort than anyone else!
Frames without Tag
Frame with Tag
0x8100 PRI CFI VLAN ID ( 12b )
2 bytes
2 bytes
DMAC Data
SMAC Type FCS
6 bytes 6 bytes 2 bytes 46-1500 bytes 4 bytes
DMAC Data
SMAC Type FCS
6 bytes 6 bytes 2 bytes 46-1500 bytes
Tag
TPID TCI
4 bytes
 Tags are used to distinguish different VLANs.
 IEEE 802.1Q standard
 Native VLAN – untagged VLAN
Format of VLAN frames
CCNA - VLAN Technology
Make no less effort than anyone else!
 The data frame sent by PC is called "original frame" and "blank data frame" (without tag).
 For each interface, there is a data receiving direction and a sending direction.
Interface mode
 Access mode - Connect terminal devices (computers, servers, printers, cameras)
 trunk mode - trunk mode - switch to switch
Switch Interface Mode
CCNA - VLAN Technology
Make no less effort than anyone else!
Link Type
VLAN 10
VLAN 20 VLAN 20
Trunk Trunk
Access Access Access Access
 The link between the user host and the switch is an access link,
and the link between switches is a trunk link.
CCNA - VLAN Technology
Make no less effort than anyone else!
VLAN Configuration
VLAN 10
VLAN 20 VLAN 20
Trunk Trunk
Access Access Access Access
# configure terminal
(config)# vlan 20
(config-vlan)# name Sales
(config-vlan)# exit
!
(config)# interface gigabitethernet 0/1 (config-
if)# switchport mode access (config-if)#
switchport access vlan 2 (config-if)# exit
(config)# interface gigabitethernet 0/2 (config-
if)# switchport mode trunk
(config-if)# switchport trunk allow vlan 20
CCNA - VLAN Technology
Make no less effort than anyone else!
VLAN Configuration
Demo
CCNA - VLAN Technology
Make no less effort than anyone else!
VLAN Trunk Protocol (VTP)
 VLAN Trunk Protocol (VTP) reduces
administration in a switched network.
When you configure a new VLAN on one
VTP server, the VLAN is distributed
through all switches in the domain.
 VTP is a Cisco-proprietary protocol.
CCNA - VLAN Technology
Make no less effort than anyone else!
VTP modes
 Server mode : Create, modify, and delete VLANs and specify other
configuration parameters, such as VTP version and VTP pruning, for the entire
VTP domain. (Default mode).
 Client mode : Synchronise VLAN configuration from VTP server.
 Transparent mode : VTP transparent switches do not participate in VTP.
CCNA - VLAN Technology
Make no less effort than anyone else!
Inter-VLAN Routing
 The purpose of dividing vlans : to make different vlans unreachable
The second layer is unreachable : the broadcast is based on the propagation of the LAN
Layer 2 communication : unicast communication is fine , broadcast is failure.
 Cross network segment - Layer 3 routing
After the deployment of VLAN, it can still communicate across network segments.
CCNA - VLAN Technology
Make no less effort than anyone else!
Inter-VLAN Routing
Host A
SWA
Host B
Trunk
G0/0/1.1 G0/0/1.2
VLAN 10 VLAN 20
GW:192.168.2.254 GW:192.168.3.254
192.168.2.254 192.168.3.254
Router
 Configure the link between the
switch and the router as a trunk
link, and create sub-interfaces on
the router to support VLAN
routing.
CCNA - VLAN Technology
Make no less effort than anyone else!
Thank You!

More Related Content

Similar to CCNA Explanation and application of vlan (20)

08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx
ssuserb8f225
 
08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx
ssuserb8f225
 
Ccna 9
Ccna  9Ccna  9
Ccna 9
Simanto Basher
 
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdfW3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
gummybear37
 
CCNP Switching Chapter 3
CCNP Switching Chapter 3CCNP Switching Chapter 3
CCNP Switching Chapter 3
Chaing Ravuth
 
ENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptxENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptx
ManuelRojas960410
 
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
NguynTy5
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
Muuluu
 
Chapter 8 .vlan.pdf
Chapter 8 .vlan.pdfChapter 8 .vlan.pdf
Chapter 8 .vlan.pdf
manojkumar595505
 
CCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptxCCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptx
santosh Kumar
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6
Chaing Ravuth
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking Protocol
Netwax Lab
 
CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
Nil Menon
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
Waqas Ahmed Nawaz
 
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdf
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdfCisco Packet Tracer- SRWE_Module_3_VLAN.pdf
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdf
syujatkj5
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized network
Arnold Derrick Kinney
 
CCNA Advanced Switching
CCNA Advanced SwitchingCCNA Advanced Switching
CCNA Advanced Switching
Dsunte Wilson
 
Vlan and vtp
Vlan and vtpVlan and vtp
Vlan and vtp
Raj sekar
 
Vlan and vtp
Vlan and vtpVlan and vtp
Vlan and vtp
Raj sekar
 
Ccna3 mod9-vtp
Ccna3 mod9-vtpCcna3 mod9-vtp
Ccna3 mod9-vtp
jmdoger
 
08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx
ssuserb8f225
 
08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx08 VLAN Prىلتانىنinciples and Configuration.pptx
08 VLAN Prىلتانىنinciples and Configuration.pptx
ssuserb8f225
 
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdfW3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
W3-Presentation-VLANs-AMA COMPUTER COLLEGE.pdf
gummybear37
 
CCNP Switching Chapter 3
CCNP Switching Chapter 3CCNP Switching Chapter 3
CCNP Switching Chapter 3
Chaing Ravuth
 
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
NguynTy5
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
Muuluu
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6
Chaing Ravuth
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking Protocol
Netwax Lab
 
CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
Nil Menon
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
Waqas Ahmed Nawaz
 
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdf
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdfCisco Packet Tracer- SRWE_Module_3_VLAN.pdf
Cisco Packet Tracer- SRWE_Module_3_VLAN.pdf
syujatkj5
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized network
Arnold Derrick Kinney
 
CCNA Advanced Switching
CCNA Advanced SwitchingCCNA Advanced Switching
CCNA Advanced Switching
Dsunte Wilson
 
Vlan and vtp
Vlan and vtpVlan and vtp
Vlan and vtp
Raj sekar
 
Vlan and vtp
Vlan and vtpVlan and vtp
Vlan and vtp
Raj sekar
 
Ccna3 mod9-vtp
Ccna3 mod9-vtpCcna3 mod9-vtp
Ccna3 mod9-vtp
jmdoger
 

Recently uploaded (20)

Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
Application Security and Secure Software Development Lifecycle
Application  Security and Secure Software Development LifecycleApplication  Security and Secure Software Development Lifecycle
Application Security and Secure Software Development Lifecycle
DrKavithaP1
 
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdfISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
UNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and ControlUNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and Control
Sridhar191373
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
Influence line diagram in a robust model
Influence line diagram in a robust modelInfluence line diagram in a robust model
Influence line diagram in a robust model
ParthaSengupta26
 
DIY Gesture Control ESP32 LiteWing Drone using Python
DIY Gesture Control ESP32 LiteWing Drone using  PythonDIY Gesture Control ESP32 LiteWing Drone using  Python
DIY Gesture Control ESP32 LiteWing Drone using Python
CircuitDigest
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos10
 
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdfSoftware_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
VanshMunjal7
 
1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design
smghumare
 
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdfISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
2. CT M35 Grade Concrete Mix design ppt.pdf
2. CT M35 Grade Concrete Mix design  ppt.pdf2. CT M35 Grade Concrete Mix design  ppt.pdf
2. CT M35 Grade Concrete Mix design ppt.pdf
smghumare
 
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITSDE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
Sridhar191373
 
Structural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptxStructural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptx
gunjalsachin
 
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptxDesign of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
younisalsadah
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
Mathias Magdowski
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
Application Security and Secure Software Development Lifecycle
Application  Security and Secure Software Development LifecycleApplication  Security and Secure Software Development Lifecycle
Application Security and Secure Software Development Lifecycle
DrKavithaP1
 
UNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and ControlUNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and Control
Sridhar191373
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
Influence line diagram in a robust model
Influence line diagram in a robust modelInfluence line diagram in a robust model
Influence line diagram in a robust model
ParthaSengupta26
 
DIY Gesture Control ESP32 LiteWing Drone using Python
DIY Gesture Control ESP32 LiteWing Drone using  PythonDIY Gesture Control ESP32 LiteWing Drone using  Python
DIY Gesture Control ESP32 LiteWing Drone using Python
CircuitDigest
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos10
 
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdfSoftware_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
VanshMunjal7
 
1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design
smghumare
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
2. CT M35 Grade Concrete Mix design ppt.pdf
2. CT M35 Grade Concrete Mix design  ppt.pdf2. CT M35 Grade Concrete Mix design  ppt.pdf
2. CT M35 Grade Concrete Mix design ppt.pdf
smghumare
 
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITSDE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
Sridhar191373
 
Structural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptxStructural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptx
gunjalsachin
 
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptxDesign of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
Design of a Hand Rehabilitation Device for Post-Stroke Patients..pptx
younisalsadah
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
Mathias Magdowski
 

CCNA Explanation and application of vlan

  • 1. VLAN Technology F o l l o w m e t o t a k e t h e N A c e r t i fi c a t e
  • 2. CCNA - VLAN Technology Make no less effort than anyone else! LAN – Local Area Network A collection of devices connected together in one physical location, such as a building, office, or home. VLAN - Virtual Local Area Network - Network Segmentation - Flexibility - Safety - Data Link layer ( OSI Layer 2) VLAN Definition
  • 3. CCNA - VLAN Technology Make no less effort than anyone else! Broadcast domain : broadcast message transmission range. VLAN can isolate the broadcast domain. VLAN 10 VLAN 20 VLAN 20 A B Broadcast Domain
  • 4. CCNA - VLAN Technology Make no less effort than anyone else! Different VLAN = different broadcast domain. Prevent broadcast storm. VLAN 10 VLAN 20 VLAN 20 A B Broadcast Domain
  • 5. CCNA - VLAN Technology Make no less effort than anyone else! While VLAN divides broadcast domains, it also limits the ability of hosts in different VLANs to communicate at Layer 2. Can users in different VLAN with same subnet of IP access each other ? VLAN 100 Switch VLAN 200 10.1.1.100/24 10.1.1.101/24 Security of VLAN
  • 6. CCNA - VLAN Technology Make no less effort than anyone else! Protect the network against dreaded insider attacks. Example: A malicious user on a given node can run a packet sniffer and begin capturing all network traffic that traverses the switch to which he is physically connected. Security of VLAN
  • 7. CCNA - VLAN Technology Make no less effort than anyone else! Frames without Tag Frame with Tag 0x8100 PRI CFI VLAN ID ( 12b ) 2 bytes 2 bytes DMAC Data SMAC Type FCS 6 bytes 6 bytes 2 bytes 46-1500 bytes 4 bytes DMAC Data SMAC Type FCS 6 bytes 6 bytes 2 bytes 46-1500 bytes Tag TPID TCI 4 bytes  Tags are used to distinguish different VLANs.  IEEE 802.1Q standard  Native VLAN – untagged VLAN Format of VLAN frames
  • 8. CCNA - VLAN Technology Make no less effort than anyone else!  The data frame sent by PC is called "original frame" and "blank data frame" (without tag).  For each interface, there is a data receiving direction and a sending direction. Interface mode  Access mode - Connect terminal devices (computers, servers, printers, cameras)  trunk mode - trunk mode - switch to switch Switch Interface Mode
  • 9. CCNA - VLAN Technology Make no less effort than anyone else! Link Type VLAN 10 VLAN 20 VLAN 20 Trunk Trunk Access Access Access Access  The link between the user host and the switch is an access link, and the link between switches is a trunk link.
  • 10. CCNA - VLAN Technology Make no less effort than anyone else! VLAN Configuration VLAN 10 VLAN 20 VLAN 20 Trunk Trunk Access Access Access Access # configure terminal (config)# vlan 20 (config-vlan)# name Sales (config-vlan)# exit ! (config)# interface gigabitethernet 0/1 (config- if)# switchport mode access (config-if)# switchport access vlan 2 (config-if)# exit (config)# interface gigabitethernet 0/2 (config- if)# switchport mode trunk (config-if)# switchport trunk allow vlan 20
  • 11. CCNA - VLAN Technology Make no less effort than anyone else! VLAN Configuration Demo
  • 12. CCNA - VLAN Technology Make no less effort than anyone else! VLAN Trunk Protocol (VTP)  VLAN Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain.  VTP is a Cisco-proprietary protocol.
  • 13. CCNA - VLAN Technology Make no less effort than anyone else! VTP modes  Server mode : Create, modify, and delete VLANs and specify other configuration parameters, such as VTP version and VTP pruning, for the entire VTP domain. (Default mode).  Client mode : Synchronise VLAN configuration from VTP server.  Transparent mode : VTP transparent switches do not participate in VTP.
  • 14. CCNA - VLAN Technology Make no less effort than anyone else! Inter-VLAN Routing  The purpose of dividing vlans : to make different vlans unreachable The second layer is unreachable : the broadcast is based on the propagation of the LAN Layer 2 communication : unicast communication is fine , broadcast is failure.  Cross network segment - Layer 3 routing After the deployment of VLAN, it can still communicate across network segments.
  • 15. CCNA - VLAN Technology Make no less effort than anyone else! Inter-VLAN Routing Host A SWA Host B Trunk G0/0/1.1 G0/0/1.2 VLAN 10 VLAN 20 GW:192.168.2.254 GW:192.168.3.254 192.168.2.254 192.168.3.254 Router  Configure the link between the switch and the router as a trunk link, and create sub-interfaces on the router to support VLAN routing.
  • 16. CCNA - VLAN Technology Make no less effort than anyone else! Thank You!