SlideShare a Scribd company logo
1 of 20
Download to read offline
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 (20)

Benefits of vlan
Benefits of vlanBenefits of vlan
Benefits of vlan
 
Cours Vlan
Cours VlanCours Vlan
Cours Vlan
 
VirtuaL area network (VLAN)
VirtuaL area network (VLAN)  VirtuaL area network (VLAN)
VirtuaL area network (VLAN)
 
Vlan
VlanVlan
Vlan
 
CCNA Advanced Switching
CCNA Advanced SwitchingCCNA Advanced Switching
CCNA Advanced Switching
 
vlan
vlanvlan
vlan
 
VXLAN
VXLANVXLAN
VXLAN
 
Virtual LAN
Virtual LANVirtual LAN
Virtual LAN
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
VLAN
VLANVLAN
VLAN
 
Les vlans
Les vlansLes vlans
Les vlans
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Vlans (virtual local area networks)
Vlans (virtual local area networks)Vlans (virtual local area networks)
Vlans (virtual local area networks)
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingHot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) using
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
VTP
VTPVTP
VTP
 

Similar to Chapter 8 .vlan.pdf

Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area NetworkAtakan ATAK
 
Vlan Types
Vlan TypesVlan Types
Vlan TypesIT Tech
 
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_.pptxSaqibAhmedKhan4
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 
Лекц 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.pdfgummybear37
 
Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1Network virtualization beyond vla ns-part1
Network virtualization beyond vla ns-part1IT Tech
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdfitwkd
 
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 SnehiMR. VIKRAM SNEHI
 
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 LANsAmir Jafari
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANSanilinvns
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized networkArnold Derrick Kinney
 
Config vlans
Config vlansConfig vlans
Config vlansamri am
 

Similar to Chapter 8 .vlan.pdf (20)

Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
 
Vlan
VlanVlan
Vlan
 
Vlan Types
Vlan TypesVlan Types
Vlan Types
 
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
 
Лекц 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.pdf
Vlan.pdfVlan.pdf
Vlan.pdf
 
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
 
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
 
Config vlans
Config vlansConfig vlans
Config vlans
 
Layer2-vlans
Layer2-vlansLayer2-vlans
Layer2-vlans
 
Vlan
VlanVlan
Vlan
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

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