SlideShare a Scribd company logo
1 of 16
Virtual LANs
Overview
• VLAN Basics
• VLAN Types
• Identifying VLANs
• VLAN Trunking Protocol
• Routing between VLANs
• Configuring VLANs
VLAN Basics
• A VLAN is a group of network services not restricted to a physical
segment or LAN switch.
• Configuration or reconfiguration of VLANs is done through
software.
• VLANs increase overall network performance by logically
grouping users and resources together.
• VLANs are powerful tools for network administrators.
• A group of users needing high security can be put into a VLAN so
that no users outside of the VLAN can communicate with them.
VLAN Types
• Static VLANs:
 The switch port that you assign a VLAN association to always
maintains that association until an administrator manually
changes that port assignment.
• Dynamic VLANs:
 Are created through network management software.
 CiscoWorks 2000 or CiscoWorks for Switched Internetworks is
used to create Dynamic VLANs.
 Allow for membership based on the MAC address of the
device connected to the switch port.
Identifying VLANs
• There are two different types of links in a switched
environment:
 Access links: This type of link is only part of one VLAN.
 Trunk links: Trunks can carry multiple VLANs and originally gained
their name after system trunks that carry multiple VLANS. A trunk
link is a 100- or 1000Mbps point-to-point link between two switches,
between a switch and router,
Identifying VLANs
• Frame Tagging:
 you can create your VLANs to span more than one connected
switch.
 There needs to be a way for each one to keep track of all the users
and frames as they travel the switch fabric and VLANs.
 Switch fabric is basically a group of switches sharing the same
VLAN information.
 The solution is Frame tagging. This method uniquely assigns a
VLAN ID to each frame.
• VLAN Identification Methods
•Proprietary to Cisco switches, and it’s used for Fast Ethernet and
Gigabit Ethernet links only.
•ISL routing can be used on a switch port and router interfaces.
Inter-
Switch
Link (ISL)
• Standard method of frame tagging.
•If you’re trunking between a Cisco switched link and a different
brand of switch, you have to use 802.1Q for the trunk to work.
IEEE
802.1Q
VLAN Trunking Protocol
• The basic goals of VLAN Trunking Protocol (VTP) are
to manage all configured VLANs across a switched
internetwork.
• Here’s a list of some of the benefits VTP has to offer:
Consistent VLAN configuration across all switches
in the network.
VLAN trunking over mixed networks.
Accurate tracking and monitoring of VLANs.
Dynamic reporting of added VLANs to all switches
in the VTP domain.
VTP Modes of Operation
• This is the default for all Catalyst switches.
•You need at least one server in your VTP domain to
propagate VLAN information throughout the domain.
•The switch must be in server mode to be able to create,
add, or delete VLANs in a VTP domain.
•Changing VTP information must also be done in server
mode, and any change made to a switch in server mode will
be advertised to the entire VTP domain.
Server
•In client mode, switches receive information from VTP
servers, and they also send and receive updates.
• Can’t make any changes.
Client
•Don’t participate in the VTP domain, but they’ll still forward
VTP advertisements through any configured trunk links.
•The purpose of Transparent mode is to allow remote
switches to receive the VLAN database from a VTP Server
Transparent
Routing between VLANs
• If you want hosts or any other IP-addressable device to communicate
between VLANs, a Router is absolutely necessary.
• For this, you can use a router that has an interface for each VLAN.
• Instead of using a router interface for each VLAN, you use one Fast
Ethernet interface and run ISL or 802.1Q trunking.
• This allows all VLANs to communicate through one interface. Cisco
calls this a “router on a stick”.
Configuring VLANs
• Create VLAN
 1900 Switch
1900(config)#vlan 2
1900(config)#vlan 3
 2950 Switch
Switch(config)#vlan 2
Switch(config-vlan)#vlan 3
• You can’t change, delete, or rename VLAN 1, because it’s the
default VLAN.
Configuring VLANs
• Assigning Switch Ports to VLANs
 1900 Switch
1900(config)#int e0/2
1900(config-if)#vlan-membership static 2
 2950 Switch
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 2
• If you want to verify your configuration, use this:
Switch#sh vlan
Configuring VLANs
• Configuring Trunk Ports
1900 Switches
1900(config)#int f0/26
1900(config-if)#trunk on
2950 Switches
Switch(config)#int f0/12
Switch(config-if)#switchport mode trunk
Configuring VLANs
• Configuring Inter-VLAN Routing
Router#config t
Router(config)#int f0/0
Router(config-if)#no ip address
Router(config-if)#no shutdown
Router(config-if)#int f0/0.1
Router(config-subif)#encaps dot1q 1 -----> VLAN 1
Router(config-subif)#ip address 192.168.10.100
255.255.255.0
Router(config-subif)#int f0/0.2
Router(config-subif)#encaps dot1q 2 -----> VLAN 2
Router(config-subif)#ip address 192.168.20.100
255.255.255.0
Configuring VTP
1900 Switch
1900(config)#vtp server ------> default
1900(config)#vtp domain orbits
2950 Switch
Switch(config)#vtp mode server ------> default
Switch(config)#vtp domain orbits
Troubleshooting VTP
• Study the output from the two switches below:
SwitchB#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : GlobalNet
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
SwitchA#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : RouterSim
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
Troubleshooting VTP
• Study the output from the switch below:
You are trying to create a
new VLAN on Switch, but
you get an error! Why?
SwitchC#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Client
VTP Domain Name : Todd
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled

More Related Content

Similar to vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf

Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxmarunkumareee77
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANsCCNAResources
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
ccna3mod9_VLAN Trunking Protocol (1).pptx
ccna3mod9_VLAN Trunking Protocol (1).pptxccna3mod9_VLAN Trunking Protocol (1).pptx
ccna3mod9_VLAN Trunking Protocol (1).pptxGiyaShefin
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)Naveen Soni
 
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
 
Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2newbie2019
 
VLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxVLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxmuhammadFaheem656405
 
Confi vtp vlan
Confi vtp vlanConfi vtp vlan
Confi vtp vlan1 2d
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccnarobertoxe
 
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)Abdelkhalik Mosa
 
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
 

Similar to vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf (20)

Scaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptxScaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptx
 
Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptx
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
CCNA Presentation
CCNA Presentation CCNA Presentation
CCNA Presentation
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccna
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANs
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
CCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptxCCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptx
 
ccna3mod9_VLAN Trunking Protocol (1).pptx
ccna3mod9_VLAN Trunking Protocol (1).pptxccna3mod9_VLAN Trunking Protocol (1).pptx
ccna3mod9_VLAN Trunking Protocol (1).pptx
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)
 
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
 
Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2
 
VLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxVLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptx
 
Confi vtp vlan
Confi vtp vlanConfi vtp vlan
Confi vtp vlan
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccna
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccna
 
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
 
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
 
vlan
vlanvlan
vlan
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf

  • 2. Overview • VLAN Basics • VLAN Types • Identifying VLANs • VLAN Trunking Protocol • Routing between VLANs • Configuring VLANs
  • 3. VLAN Basics • A VLAN is a group of network services not restricted to a physical segment or LAN switch. • Configuration or reconfiguration of VLANs is done through software. • VLANs increase overall network performance by logically grouping users and resources together. • VLANs are powerful tools for network administrators. • A group of users needing high security can be put into a VLAN so that no users outside of the VLAN can communicate with them.
  • 4. VLAN Types • Static VLANs:  The switch port that you assign a VLAN association to always maintains that association until an administrator manually changes that port assignment. • Dynamic VLANs:  Are created through network management software.  CiscoWorks 2000 or CiscoWorks for Switched Internetworks is used to create Dynamic VLANs.  Allow for membership based on the MAC address of the device connected to the switch port.
  • 5. Identifying VLANs • There are two different types of links in a switched environment:  Access links: This type of link is only part of one VLAN.  Trunk links: Trunks can carry multiple VLANs and originally gained their name after system trunks that carry multiple VLANS. A trunk link is a 100- or 1000Mbps point-to-point link between two switches, between a switch and router,
  • 6. Identifying VLANs • Frame Tagging:  you can create your VLANs to span more than one connected switch.  There needs to be a way for each one to keep track of all the users and frames as they travel the switch fabric and VLANs.  Switch fabric is basically a group of switches sharing the same VLAN information.  The solution is Frame tagging. This method uniquely assigns a VLAN ID to each frame. • VLAN Identification Methods •Proprietary to Cisco switches, and it’s used for Fast Ethernet and Gigabit Ethernet links only. •ISL routing can be used on a switch port and router interfaces. Inter- Switch Link (ISL) • Standard method of frame tagging. •If you’re trunking between a Cisco switched link and a different brand of switch, you have to use 802.1Q for the trunk to work. IEEE 802.1Q
  • 7. VLAN Trunking Protocol • The basic goals of VLAN Trunking Protocol (VTP) are to manage all configured VLANs across a switched internetwork. • Here’s a list of some of the benefits VTP has to offer: Consistent VLAN configuration across all switches in the network. VLAN trunking over mixed networks. Accurate tracking and monitoring of VLANs. Dynamic reporting of added VLANs to all switches in the VTP domain.
  • 8. VTP Modes of Operation • This is the default for all Catalyst switches. •You need at least one server in your VTP domain to propagate VLAN information throughout the domain. •The switch must be in server mode to be able to create, add, or delete VLANs in a VTP domain. •Changing VTP information must also be done in server mode, and any change made to a switch in server mode will be advertised to the entire VTP domain. Server •In client mode, switches receive information from VTP servers, and they also send and receive updates. • Can’t make any changes. Client •Don’t participate in the VTP domain, but they’ll still forward VTP advertisements through any configured trunk links. •The purpose of Transparent mode is to allow remote switches to receive the VLAN database from a VTP Server Transparent
  • 9. Routing between VLANs • If you want hosts or any other IP-addressable device to communicate between VLANs, a Router is absolutely necessary. • For this, you can use a router that has an interface for each VLAN. • Instead of using a router interface for each VLAN, you use one Fast Ethernet interface and run ISL or 802.1Q trunking. • This allows all VLANs to communicate through one interface. Cisco calls this a “router on a stick”.
  • 10. Configuring VLANs • Create VLAN  1900 Switch 1900(config)#vlan 2 1900(config)#vlan 3  2950 Switch Switch(config)#vlan 2 Switch(config-vlan)#vlan 3 • You can’t change, delete, or rename VLAN 1, because it’s the default VLAN.
  • 11. Configuring VLANs • Assigning Switch Ports to VLANs  1900 Switch 1900(config)#int e0/2 1900(config-if)#vlan-membership static 2  2950 Switch Switch(config-if)#int f0/2 Switch(config-if)#switchport access vlan 2 • If you want to verify your configuration, use this: Switch#sh vlan
  • 12. Configuring VLANs • Configuring Trunk Ports 1900 Switches 1900(config)#int f0/26 1900(config-if)#trunk on 2950 Switches Switch(config)#int f0/12 Switch(config-if)#switchport mode trunk
  • 13. Configuring VLANs • Configuring Inter-VLAN Routing Router#config t Router(config)#int f0/0 Router(config-if)#no ip address Router(config-if)#no shutdown Router(config-if)#int f0/0.1 Router(config-subif)#encaps dot1q 1 -----> VLAN 1 Router(config-subif)#ip address 192.168.10.100 255.255.255.0 Router(config-subif)#int f0/0.2 Router(config-subif)#encaps dot1q 2 -----> VLAN 2 Router(config-subif)#ip address 192.168.20.100 255.255.255.0
  • 14. Configuring VTP 1900 Switch 1900(config)#vtp server ------> default 1900(config)#vtp domain orbits 2950 Switch Switch(config)#vtp mode server ------> default Switch(config)#vtp domain orbits
  • 15. Troubleshooting VTP • Study the output from the two switches below: SwitchB#sh vtp status VTP Version : 2 Configuration Revision : 1 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Server VTP Domain Name : GlobalNet VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled SwitchA#sh vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Server VTP Domain Name : RouterSim VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled
  • 16. Troubleshooting VTP • Study the output from the switch below: You are trying to create a new VLAN on Switch, but you get an error! Why? SwitchC#sh vtp status VTP Version : 2 Configuration Revision : 1 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Client VTP Domain Name : Todd VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled