Switching Topic 2 VLANs.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Introducing VLAN Operations.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Virtual LANs.
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VLANs LAN Switching and Wireless – Chapter 3.
VLANs- Chapter 3 CCNA Exploration Semester 3 Modified by Profs. Ward
Layer 2: Redundancy and High Availability Part 1: General Overview on Assignment 1.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 8: Virtual LANs (VLANs)
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Sybex CCNA Chapter 9: VLAN’s Instructor & Todd Lammle.
VLANs.ppt CCNA Exploration Semester 3 Chapter 3
CCENT Study Guide Chapter 11 VLANs and Inter-VLAN Routing.
Virtual LAN (VLAN) W.lilakiatsakun.
Voice VLANs Lecture 7 VLANs.ppt 21/04/ Apr-17
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching.
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir CCNP-SWITCHING Mohamed Samir YouTube channel.
Virtual LAN Design Switches also have enabled the creation of Virtual LANs (VLANs). VLANs provide greater opportunities to manage the flow of traffic on.
Instructor & Todd Lammle
Sybex CCNA Chapter 11: VLAN’s Instructor & Todd Lammle.
VLAN Trunking Protocol
CIT 384: Network AdministrationSlide #1 CIT 384: Network Administration VLANs.
Building Cisco Multilayer Switched Networks (BCMSN)
The University of Bolton School of Business & Creative Technologies MWD1014 Computer Networks Virtual Local Area Networks (VLANs) Martin Stanhope
Chapter 9 Virtual LANs (VLANs). Setup 1 Setup 2.
VLAN V irtual L ocal A rea N etwork VLAN Network performance is a key factor in the productivity of an organization. One of the technologies used to.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VLANs LAN Switching and Wireless – Chapter 3 Sandra Coleman, CCNA, CCAI.
Lecture2 Secured Network Design W.Lilakiatsakun.  ARP  Problems with ARP / Countermeasures  VLAN  Attacking on VLAN / Countermeasures Topics.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Configure a Switch LAN Switching and Wireless – Chapter 3.
VLAN-1 Virtual Local Area Networks (VLANs). VLAN-2 Virtual Local Area Networks Introducing VLANs.
Cisco 3 - LAN Perrine. J Page 110/20/2015 Chapter 8 VLAN VLAN: is a logical grouping grouped by: function department application VLAN configuration is.
Medium-Sized Switched Network Construction NetPro-ITI Implementing VLANs and Trunks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs.
Switching Basics and Intermediate Routing CCNA 3 Chapter 8.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching 3.0.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs Cisco Networking Academy.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VLANs LAN Switching and Wireless – Chapter 3.
Virtual LAN (VLAN) W.lilakiatsakun. VLAN Overview (1) A VLAN allows a network administrator to create groups of logically networked devices that act as.
Virtual Local Area Networks (VLANs) Part II
Switching Topic 3 VTP. Agenda VTP basics Components Frames and advertisements Domains and revision numbers VTP operations VTP pruning VTP issues.
Configuring VLAN Chapter 14 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Understand basic concept of VLAN  Configure.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
VLANs Last Update Copyright Kenneth M. Chipps Ph.D.
W&L Page 1 CCNA CCNA Training 2.5 Describe how VLANs create logically separate networks and the need for routing between them Jose Luis.
1 VLANs Relates to Lab 6. Short module on basics of VLAN switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Virtual LAN (VLAN) W.lilakiatsakun.
+ Lecture#8: VLAN Asma AlOsaimi Topics VLAN Segmentation VLAN Implementation VLAN Security and Design 3.0.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Instructor Materials Chapter 2: Scaling VLANs
Chap 3 – Virtual LANs (VLANs) Learning Objectives
Switching and VLANs.
Instructor & Todd Lammle
Switching and VLANs.
Instructor Materials Chapter 6: VLANs
Virtual Local Area Networks (VLANs) Part I
LAN Switching and Wireless – Chapter 3
Virtual LANs.
Chapter 2: Scaling VLANs
Routing and Switching Essentials v6.0
CCNA Routing and Switching Routing and Switching Essentials v6.0
Switching and VLANs.
Chapter 3: Implementing VLAN Security
Chapter 2: Scaling VLANs
Presentation transcript:

Switching Topic 2 VLANs

Agenda VLANs Benefits Components Trunking and 802.1q VLAN types VLAN operations VLAN modes Voice VLAN DTP Troubleshooting

VLANs Virtual LAN or ‘virtualised’ LAN VLANs divide switches by business function Departments, project teams, locations Multiple VLANs exist on multiple switches in the switched infrastructure Each VLAN is a different IP network VLANs are configured on the switch Switchports are each assigned to a single VLAN Hosts connected to the switchport can communicate with other hosts in the same VLAN Hosts in different VLANs are on different networks and can only communicate with each other via a routing process VLANs can span multiple switches so hosts can be located anywhere and connect to any switch

VLANs

Benefits of VLANs Separate large broadcast domains into smaller ones Separate the network into business functional groups Security Segmenting functional groups means policy can be applied Cost More efficient use of switches and links as the infrastructure shared by different VLANs Controlled network traffic Performance is maintained as there is less broadcast traffic Broadcast storms and errors are contained within the VLAN Management efficiency Simple moves, adds, and changes for hosts Users with the same needs can be grouped and assigned to a VLAN

Components Switches Trunk links Trunking protocol 802.1q VLANs are created on the switch VLANs are identified by number, VID and described by name Ports are assigned to specific VLANs, PVID Trunk links Links between switches which carry all VLAN traffic Links between switches and routers which carry all VLAN traffic for routing between the VLANs Trunking protocol 802.1q Tags frames arriving at ports with their VLANID Tagged frames travel down trunk links with their VLANID tags Tags are stripped from frames when leaving a port to go to the host Router or layer 3 switch routes frames between VLANs

Trunking Trunking extends the VLAN VLAN trunk is a point to point link between two switches that carries tagged frames from more than one VLAN VLAN trunks extends VLANs across the network using the IEEE 802.1q standard Without VLAN trunks a separate link between switches would be required for each VLAN

Types of VLANs Data VLAN – user and application traffic Voice VLAN Requires assured bandwidth and delay of less than 150 milliseconds Management VLAN Used to remotely access and manage the switch (telnet, http, ssh, snmp) The management VLAN is assigned an IP address and a subnet mask By default is VLAN 1, best practice is to create a separate management VLAN Default VLAN – VLAN 1 All ports by default are members of VLAN 1 Cannot be deleted or renamed Layer 2 control traffic such as CDP and STP traffic Best practise is to assign all ports on the switch to VLAN other than one and leave VLAN 1 for layer 2 control traffic

Native VLAN The native VLAN is assigned to switchports that are trunking Untagged frames Frames that originate on the switch (such as cdp and stp and other control traffic) are untagged (they did not arrive through a switchport) Untagged frames received by a trunk port are sent down trunks with native VLAN tags Control traffic should be untagged Some vendor’s switches, tag control traffic and this traffic is dropped on the native VLAN The native VLAN is by default VLAN 1 and should be assigned to another VLAN

VLAN tagging 802.1q Each port is assigned the PVID of their VLAN 802.1q ports (trunk ports) are assigned the PVID of the native VLAN Ingress rules: Untagged traffic that arrives at the port is tagged with the PVID Tagged traffic that arrives at the port is not altered Forwarding rules: Flood, forward or filter and MAC address table lookup Egress rules: Frame is untagged if its destination is a host Frame sent as tagged if its destination is a trunk or IP phone

Tag frame format Dot1q inserts a tag into the Ethernet header of frames (just after source MAC): Switchport with a PVID assigned receives a frame Switch inserts VLAN tag and recalculates FCS Switch sends tagged frame out of trunk port EtherType field value set to 0x8100 – the TPID value Tag Control Information field is inserted that contains: Priority information CFI to enable token ring frames on Ethernet links VID VLAN ID (up to 4096) FCS field in the trailer gets a recalculated FCS value

VLAN operation Broadcast frames: Switch forwards broadcast frames: out of all ports on the same VLAN except the originating port as tagged frames on trunk links which allow the VLAN. Unicast frames: Switch forwards the frame to destination host on current switch or if the destination MAC is on another switch, as a tagged frame using the trunk link.

VLAN operation

VLAN modes Static (port-based VLAN) Dynamic Switchports can be manually assigned to a VLAN Switchport mode access Switchport access VLAN 20 Dynamic Switchports can be assigned to a VLAN based on the MAC address of the attached host VLAN policy membership server VMPS contains mappings of MAC to VLANs Hosts can move around and use any port and get put into the correct VLAN

Switchport modes Access mode Trunk mode Configures a switchport as an access port Has hosts attached to it Maintains the PVID of the VLAN associated with it Trunk mode Configures a switchport as an trunk port Has switches or routers attached to it Forwards tagged frames from multiple VLANs Forwards untagged frames on the native VLAN

Dynamic Trunking Protocol (DTP) Cisco® proprietary used to allow switchports to negotiate to trunk Four modes: On (always a trunk) Dynamic auto (able to trunk but only if the other end of link is ON or desirable) Dynamic desirable (able to trunk and will if other end is ON or desirable or auto) Nonegotiate (DTP is off and switchport trunks) Use Nonegotiate when trunking to switch from another vendor If both links are set to dynamic auto, they will negotiate to stay in their default state which is access mode For 2950, the default switchport mode is dynamic desirable For 2960, the default switchport mode is dynamic auto

VLAN IDs Normal range VLANs Extended range VLANs VLAN ID between 1 and 1005 1002 to 1005 reserved for token ring and fddi VLAN 1 and 1002–1005 are created automatically and cannot be removed Configurations stored in the VLAN.dat file in flash Supports VTP to propagate VLANs Extended range VLANs VLAN ID between 1006–4094 Fewer features Saved in running config Does not supports VTP to propagate VLANs Cisco® Catalyst® 2960 can support up to 255 VLANs

Voice VLAN Voice traffic needs priority classification and can only tolerate 150 ms delay Cisco® phones contain a 3 port switch Port 1 connects to the switch Port 2 is an internal 10/100 interface that carries the IP phone traffic Port 3 (access port) connects to a PC Switchport is configured with a voice VLAN (VLAN 150) and a data VLAN Switchport uses CDP to send the voice VLAN ID to the phone The phone tags voice frames with the voice VLAN ID The phone does not tag frames from the PC Data frames are tagged with the data VLAN ID when they arrive at the switchport

Configuring VLANs Demo

Deleting VLANs VLAN configuration is stored in VLAN.dat file in flash (config) no VLAN VLANid #delete flash:VLAN.dat #delete VLAN.dat

Troubleshooting Native VLAN mismatches Trunk mode mismatches different native VLANs on each end of links causes errors and causes traffic to be misdirected (security risk) Trunk mode mismatches one switchport is off and the other switchport is on VLANs and IP subnets incorrect IP addresses, gateways, subnet masks Allowed VLANs on trunks VLAN hasn’t been added as ‘allowed’ on trunk

Agenda VLANs Benefits Components Trunking and 802.1q VLAN types VLAN operations VLAN modes Voice VLAN DTP Troubleshooting

Switching Topic 2 VLANs