SlideShare a Scribd company logo
Implementing Ethernet Virtual
LANs
Implementing Ethernet Virtual
LANs
So far we saw a switch receives a frame and makes a
Forwarding decision and forwards it.
We haven’t much deal with the VLANs so in this chapter
We will see that.
Section 1 : How vlan works in 1 switch and how to span
Single vlan across multiple switches.
Section 2 : How to configure VLANs and VLAN trunks, and how
To route a frame from one vlan to another vlan
Section 3 : Issues that can arise with vlans
Virtual LAN Concepts
 LAN - A LAN includes all devices in the same broadcast domain.
It stands for virtual local area network.
VLAN is a network that collects a set of network ports on a switching
device into a single broadcast domain.
VLAN separating the large broad cast domain into small broadcast domains.
If a device in one VLAN sends a broadcast frame all device in that same
VLAN receive and other VLAN device will not receive that.
VLAN are most often used over ethernet network.
In one physical switch we can create multiple logical network thus each
VLAN create its own broadcast domain.
By default all the port are in VLAN1.
VLAN1 is management VLAN.
VLAN2 can create 2-1005.
Other Reason to use VLANS
 To reduce CPU overhead on each device, improving host performance, by
reducing the number of devices that receive each broadcast frame.
 To create more flexible designs that groups users by department, or by groups
that work together, instead of by physical location.
 To solve problems more quickly, because the failure domain for many
problems is the same set of devices as those in the same broadcast domain.
Creating Multi switch VLANs Using
Trunking
 Generally we are configuring VLANs on a single switch and simply configuring
each port to tell it the VLAN number to which the port belongs.
 But if w have multiple switches, then we need to consider additional concepts
about how to forward traffic between the switches.
 When we are using VLANs in networks that have multiple interconnected
switches the switches need to use VLAN Trunking on the links between the
switches.
 VLAN trunking causes the switches to use a process called VLAN Tagging, by
which switch that is sending switch adds another header to the frame before
sending it over the trunk.
 This exrtra Trunking header includes a VLAN identifier that is VLAND ID field
so that the sending switch can associate the frame with a particular VLAN ID
and receiving switch can then know in what VLAN each frame belongs.
Interface Types In Switch
 Trunk Port :
Trunk port is a port in a switch which can carry multiple vlan traffic.
 Access Port :
Access port is a port in a switch which can carry single vlan traffic only.
VLAN Tagging Concepts
 The use of Trunking allows switches to forward frames from multiple VLANs over
a single physical connection by adding a small header.
 SW1 adds a VLAN header to the original Ethernet frame, with the
 VLAN header listing a VLAN ID of 10 in this case
CISCO has supported two different
Trunking protocols.
1. Inter-switch Link(ISL)--------CISCO created the ISL it add 30 byte
2. IEEE802.1Q------IEEE it add 4 byte
3. Both ISL and IEEE tags the frame in the trunk but how is what differs.
4. 1.IEEE inserts 4byte or 24 bits 802.1Q Header out of which 12 bit is for VLAN
ID
5. Hence Maximum vlan is 2^12(4096)VLANs.
Types of VLAN
1. Static VLAN---→Base on port number
2. Dynamic VLAN-→Base on the MAC address
Static VLAN
Static VLANs are based on port numbers.
Need to configure manually i.e. Assign a port on a switch to a VLAN.
One port can be a member of only one VLAN.
It is also called port Based VLANs.
Static VLAN is a group of ports designated by the switch as belonging to the same
broadcast domain.
VLAN Creation:
Switch(Config)#vlan <no>
Switch(Config-vlan)#name<name>
Assigning ports in VLAN:
Switch(Config)#interface<interface type><interface n0.>
Switch(Config-if)#switchport mode access
Switch(Config-if)#switchport access Vlan <no>
Dynamic VLAN:
Generally we don’t use Dynamic VLAN.
Dynamic VLAN’s are based on the MAC address of a PC.
Switch automatically assign the port of multiple VLAN
Each port can be member of multiple VLAN’s
For Dynamic VLAN configuration .a software called VMPS(VLAN
Membership policy server)is needed.
Native VLAN
 By definition, 802.1Q Simply does not add an 802.1Q header to frames in the
native VLAN.
 If my switch receives a frame without vlan tags it then it decides to choose it
as a part of Native VLAN.
 Native VLAN can change from one switch to another switch.
We can change Native vlan from vlan 1
to other.
 Switch(configuration)
 Switch>en
 Switch#config t
 Switch(config)#vlan 666
 Switch(config-vlan)#end
 Switch(config)#into f0/1
 Switch(config-if)#switchport trunk native vlan 666
 Remember: For CISCO switches the Native VLAN ID must match on both end
of trunk.
To see Native VLAN:
Switch#sh in trunk
Switch#sh in f0/1 switchport
VLAN Trunking Protocol
It’s a protocol developed by Cisto to send the vlan information
from ne switch to others, instead of configuring every switch.
VTP Modes:
1.Server:
The server switches can configure VLANs in
the standard range only(1-1005)
2.Client:
The client switches cannot configure VLANs,
however, they receive it from server.
3.Transparent:
If they receive a VTP message it will
update itself with vlan it just passes it to next switch.
DTP – Dynamic Trunking Protocol
 We can use DTP to dynamically make our port as Trunk port if neighbor is
trunk port.
Troubleshooting VLANs and VLAN TRUNKS
This final session will discuss about the issues related to VLAN.
1. Make sure the access vlan is up or active, normally a vlan goes to shut
state when you use shutdown command.
IOU2(config)#vlan 10
IOU2(config-vlan)#shutdown

More Related Content

What's hot

CCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol ImplementationCCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol Implementation
Amir Jafari
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
poojaswami31
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
 
MPLS
MPLSMPLS
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
Salachudin Emir
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
sarasanandam
 
Bgp
BgpBgp
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPFarpit
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
3Anetwork com
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
Nil Menon
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
Unni Kannan VijayaKumar
 
VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)
Netwax Lab
 
OTV PPT by NETWORKERS HOME
OTV PPT by NETWORKERS HOMEOTV PPT by NETWORKERS HOME
OTV PPT by NETWORKERS HOME
networkershome
 
Vlan configuration guide
Vlan configuration guideVlan configuration guide
Vlan configuration guideprabh_in
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
Febrian ‎
 
Virtual Local Area Network (VLAN)
Virtual Local Area Network (VLAN)Virtual Local Area Network (VLAN)
Virtual Local Area Network (VLAN)
Mohammad Javad Abdolmaleki
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
Martin Bratina
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
CoderGenie Technologies
 

What's hot (20)

Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
 
CCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol ImplementationCCNA R&S-13-Spanning Tree Protocol Implementation
CCNA R&S-13-Spanning Tree Protocol Implementation
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
MPLS
MPLSMPLS
MPLS
 
Router commands
Router commandsRouter commands
Router commands
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Bgp
BgpBgp
Bgp
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)
 
OTV PPT by NETWORKERS HOME
OTV PPT by NETWORKERS HOMEOTV PPT by NETWORKERS HOME
OTV PPT by NETWORKERS HOME
 
Vlan configuration guide
Vlan configuration guideVlan configuration guide
Vlan configuration guide
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
 
Virtual Local Area Network (VLAN)
Virtual Local Area Network (VLAN)Virtual Local Area Network (VLAN)
Virtual Local Area Network (VLAN)
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
 

Similar to Chapter 8 .vlan.pdf

Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
Atakan ATAK
 
Virtual LAN
Virtual LANVirtual LAN
Virtual LAN
Lilesh Pathe
 
Vlan Types
Vlan TypesVlan Types
Vlan Types
IT Tech
 
VLAN
VLANVLAN
Lecture_Network Design, InterVlan Routing and Trunking_.pptx
Lecture_Network Design, InterVlan Routing and Trunking_.pptxLecture_Network Design, InterVlan Routing and Trunking_.pptx
Lecture_Network Design, InterVlan Routing and Trunking_.pptx
SaqibAhmedKhan4
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
BOURY1
 
Vlan
VlanVlan
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
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
 
Mod8 vlans
Mod8 vlansMod8 vlans
Mod8 vlans
Mohan Kumaresan
 
Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1
IT Tech
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
MR. VIKRAM SNEHI
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdf
itwkd
 
CCNA R&S-10-Implementing Ethernet Virtual LANs
CCNA R&S-10-Implementing Ethernet Virtual LANsCCNA R&S-10-Implementing Ethernet Virtual LANs
CCNA R&S-10-Implementing Ethernet Virtual LANs
Amir Jafari
 
CCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptxCCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptx
santosh Kumar
 
mod8-VLANs.ppt
mod8-VLANs.pptmod8-VLANs.ppt
mod8-VLANs.ppt
SAROORNAGARCMCORE
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
anilinvns
 
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
 

Similar to Chapter 8 .vlan.pdf (20)

Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
 
Virtual LAN
Virtual LANVirtual LAN
Virtual LAN
 
Vlan
VlanVlan
Vlan
 
Vlan Types
Vlan TypesVlan Types
Vlan Types
 
VLAN
VLANVLAN
VLAN
 
Lecture_Network Design, InterVlan Routing and Trunking_.pptx
Lecture_Network Design, InterVlan Routing and Trunking_.pptxLecture_Network Design, InterVlan Routing and Trunking_.pptx
Lecture_Network Design, InterVlan Routing and Trunking_.pptx
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
Vlan
VlanVlan
Vlan
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
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
 
Mod8 vlans
Mod8 vlansMod8 vlans
Mod8 vlans
 
Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdf
 
CCNA R&S-10-Implementing Ethernet Virtual LANs
CCNA R&S-10-Implementing Ethernet Virtual LANsCCNA R&S-10-Implementing Ethernet Virtual LANs
CCNA R&S-10-Implementing Ethernet Virtual LANs
 
CCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptxCCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptx
 
mod8-VLANs.ppt
mod8-VLANs.pptmod8-VLANs.ppt
mod8-VLANs.ppt
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANS
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized network
 

Recently uploaded

一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 

Recently uploaded (20)

一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 

Chapter 8 .vlan.pdf

  • 2. Implementing Ethernet Virtual LANs So far we saw a switch receives a frame and makes a Forwarding decision and forwards it. We haven’t much deal with the VLANs so in this chapter We will see that. Section 1 : How vlan works in 1 switch and how to span Single vlan across multiple switches. Section 2 : How to configure VLANs and VLAN trunks, and how To route a frame from one vlan to another vlan Section 3 : Issues that can arise with vlans
  • 3. Virtual LAN Concepts  LAN - A LAN includes all devices in the same broadcast domain. It stands for virtual local area network. VLAN is a network that collects a set of network ports on a switching device into a single broadcast domain. VLAN separating the large broad cast domain into small broadcast domains. If a device in one VLAN sends a broadcast frame all device in that same VLAN receive and other VLAN device will not receive that.
  • 4. VLAN are most often used over ethernet network. In one physical switch we can create multiple logical network thus each VLAN create its own broadcast domain. By default all the port are in VLAN1. VLAN1 is management VLAN. VLAN2 can create 2-1005.
  • 5. Other Reason to use VLANS  To reduce CPU overhead on each device, improving host performance, by reducing the number of devices that receive each broadcast frame.  To create more flexible designs that groups users by department, or by groups that work together, instead of by physical location.  To solve problems more quickly, because the failure domain for many problems is the same set of devices as those in the same broadcast domain.
  • 6.
  • 7. Creating Multi switch VLANs Using Trunking  Generally we are configuring VLANs on a single switch and simply configuring each port to tell it the VLAN number to which the port belongs.  But if w have multiple switches, then we need to consider additional concepts about how to forward traffic between the switches.  When we are using VLANs in networks that have multiple interconnected switches the switches need to use VLAN Trunking on the links between the switches.  VLAN trunking causes the switches to use a process called VLAN Tagging, by which switch that is sending switch adds another header to the frame before sending it over the trunk.  This exrtra Trunking header includes a VLAN identifier that is VLAND ID field so that the sending switch can associate the frame with a particular VLAN ID and receiving switch can then know in what VLAN each frame belongs.
  • 8.
  • 9. Interface Types In Switch  Trunk Port : Trunk port is a port in a switch which can carry multiple vlan traffic.  Access Port : Access port is a port in a switch which can carry single vlan traffic only.
  • 10. VLAN Tagging Concepts  The use of Trunking allows switches to forward frames from multiple VLANs over a single physical connection by adding a small header.  SW1 adds a VLAN header to the original Ethernet frame, with the  VLAN header listing a VLAN ID of 10 in this case
  • 11. CISCO has supported two different Trunking protocols. 1. Inter-switch Link(ISL)--------CISCO created the ISL it add 30 byte 2. IEEE802.1Q------IEEE it add 4 byte 3. Both ISL and IEEE tags the frame in the trunk but how is what differs. 4. 1.IEEE inserts 4byte or 24 bits 802.1Q Header out of which 12 bit is for VLAN ID 5. Hence Maximum vlan is 2^12(4096)VLANs.
  • 12.
  • 13. Types of VLAN 1. Static VLAN---→Base on port number 2. Dynamic VLAN-→Base on the MAC address Static VLAN Static VLANs are based on port numbers. Need to configure manually i.e. Assign a port on a switch to a VLAN. One port can be a member of only one VLAN. It is also called port Based VLANs. Static VLAN is a group of ports designated by the switch as belonging to the same broadcast domain. VLAN Creation: Switch(Config)#vlan <no> Switch(Config-vlan)#name<name>
  • 14. Assigning ports in VLAN: Switch(Config)#interface<interface type><interface n0.> Switch(Config-if)#switchport mode access Switch(Config-if)#switchport access Vlan <no> Dynamic VLAN: Generally we don’t use Dynamic VLAN. Dynamic VLAN’s are based on the MAC address of a PC. Switch automatically assign the port of multiple VLAN Each port can be member of multiple VLAN’s For Dynamic VLAN configuration .a software called VMPS(VLAN Membership policy server)is needed.
  • 15. Native VLAN  By definition, 802.1Q Simply does not add an 802.1Q header to frames in the native VLAN.  If my switch receives a frame without vlan tags it then it decides to choose it as a part of Native VLAN.  Native VLAN can change from one switch to another switch.
  • 16. We can change Native vlan from vlan 1 to other.  Switch(configuration)  Switch>en  Switch#config t  Switch(config)#vlan 666  Switch(config-vlan)#end  Switch(config)#into f0/1  Switch(config-if)#switchport trunk native vlan 666  Remember: For CISCO switches the Native VLAN ID must match on both end of trunk.
  • 17. To see Native VLAN: Switch#sh in trunk Switch#sh in f0/1 switchport
  • 18. VLAN Trunking Protocol It’s a protocol developed by Cisto to send the vlan information from ne switch to others, instead of configuring every switch. VTP Modes: 1.Server: The server switches can configure VLANs in the standard range only(1-1005) 2.Client: The client switches cannot configure VLANs, however, they receive it from server. 3.Transparent: If they receive a VTP message it will update itself with vlan it just passes it to next switch.
  • 19. DTP – Dynamic Trunking Protocol  We can use DTP to dynamically make our port as Trunk port if neighbor is trunk port.
  • 20. Troubleshooting VLANs and VLAN TRUNKS This final session will discuss about the issues related to VLAN. 1. Make sure the access vlan is up or active, normally a vlan goes to shut state when you use shutdown command. IOU2(config)#vlan 10 IOU2(config-vlan)#shutdown