Switching and VLANs.

Slides:



Advertisements
Similar presentations
Virtual Trunk Protocol
Advertisements

LAN Segmentation Virtual LAN (VLAN).
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Introducing VLAN Operations.
Virtual LANs.
VLAN KRISHNAKUMAR RAJENDRAN NIKITA PATEL TEJENDRA PATEL Guided by Prof, Edmund Gean.
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.
VLANs Module 2. 2 VLANs  VLANs  Trunking  VLAN Trunking Protocol (VTP)
Ch. 9 – VLANs (Virtual LANs)
VLANs- Chapter 3 CCNA Exploration Semester 3 Modified by Profs. Ward
Layer 2: Redundancy and High Availability Part 1: General Overview on Assignment 1.
Virtual LANs. VLAN Overview Segmentation Flexibility Security 3rd floor 2nd floor 1st floor SALESHRENG A VLAN = A broadcast domain = Logical network (subnet)
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 8: Virtual LANs (VLANs)
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Configuring 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.
Ch. 8 – VLANs (Virtual LANs)
CCENT Study Guide Chapter 11 VLANs and Inter-VLAN Routing.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—2-1 Implementing VLANs in Campus Networks Applying Best Practices for VLAN Topologies.
VLAN & VPNs Chapter 8 VLAN & VPNs By Dr.Sukchatri P.
VLANs (Virtual LANs) CIS 83 Fall 2006 CCNA 3 Rick Graziani Cabrillo College.
Voice VLANs Lecture 7 VLANs.ppt 21/04/ Apr-17
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.
CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Building Cisco Multilayer Switched Networks (BCMSN)
© 1999, Cisco Systems, Inc. 7-1 Chapter 7 Extending Switched Networks with Virtual LANs.
Chapter 9 Virtual LANs (VLANs). Setup 1 Setup 2.
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.
© 2002, Cisco Systems, Inc. All rights reserved..
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Medium-Sized Switched Network Construction NetPro-ITI Implementing VLANs and Trunks.
Switching Basics and Intermediate Routing CCNA 3 Chapter 8.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 7 VLAN and VPNs.
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.
Switching Topic 2 VLANs.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Switching in an Enterprise Network Introducing Routing and Switching in the.
Virtual Local Area Networks (VLANs) Part II
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 VLAN Trunking Protocol Cisco Networking Academy.
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.
Instructor & Todd Lammle Sybex CCNA Chapter 9: VLAN’s 1.
VTP VLAN Trunking Protocol Create once and send to the other switches. VTP is a messaging protocol that uses Layer 2 trunk frames to manage the addition,
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
Switching and VLANs.
Chapter 11 VLANs and Inter-VLAN Routing
© 2002, Cisco Systems, Inc. All rights reserved.
Virtual Local Area Networks or VLANs
Instructor & Todd Lammle
© 2002, Cisco Systems, Inc. All rights reserved.
Extending Switched Networks with Virtual LANs
Purpose: The purpose of this chapter is to describe VLAN operations on the Catalyst switches. Timing: This module should take about two hours to present.
VLAN Trunking Protocol
Virtual LANs.
Chapter 2: Scaling VLANs
Medium-Sized Switched Network Construction
VLAN Trunking Protocol
Switching and VLANs.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
Switching and VLANs.
CCNA 3 v3 JEOPARDY Module 9 CCNA3 v3 Module 9 K. Martin.
Chapter 2: Scaling VLANs
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

Switching and VLANs

Switching Tasks Switching operation Configure a VLAN Configure VLAN Trunking Protocol (VTP) Configure a switch for trunking Verify VLAN connectivity Verify spanning-tree operations Slide 1 of 1 Purpose: Emphasize:

Switching operation Switches forward frames based on destination MAC address Switches store MAC addresses in the MAC address table Switches populate the table from the source MAC address from frames that enter the switch If the destination MAC address is not in the table the switch forwards the frame out all ports in the same VLAN except the receiving port By default all ports are in VLAN 1 Slide 1 of 1 Purpose: Emphasize:

A VLAN = A broadcast domain = Logical network (subnet) VLAN Overview Segmentation Flexibility Security 3rd floor 2nd floor Slide 1 of 1 Purpose: Emphasize: A VLAN is a broadcast domain. Note: In order to have inter-vlan communications, a router is required. 1st floor SALES HR ENG A VLAN = A broadcast domain = Logical network (subnet)

VLAN Operations Each logical VLAN is like a separate physical bridge Switch A Green VLAN Black Red Slide 1 of 3 Purpose: Emphasize: Each port on the switch can be assigned to a VLAN. By default, all ports are in VLAN 1, a factory default VLAN. Each logical VLAN is like a separate physical bridge

VLAN Operations Each logical VLAN is like a separate physical bridge Switch A Green VLAN Black Red Switch B Slide 2 of 3 Purpose: Emphasize: To allow VLANs to span across multiple switches, the connection between the switches must belong to mulitple VLANs. Red VLAN Black VLAN Green VLAN Each logical VLAN is like a separate physical bridge VLANs can span across multiple switches

VLAN Operations Each logical VLAN is like a separate physical bridge Switch A Green VLAN Black Red Switch B Trunk Fast Ethernet Slide 3 of 3 Purpose: Emphasize: A trunk is used to connect two switches together. A trunk carries traffic for multiple VLANs. Only the fastethernet ports on the 1900 can be configured as trunk port. Trunking is off by default on the 1900 fastethernet ports (fa 0/26 and fa 0/27). Note: The 1900 supports DISL. At the time of the beta, the core switch (2900xl) doesn’t support DISL. Red VLAN Black VLAN Green VLAN Each logical VLAN is like a separate physical bridge VLANs can span across multiple switches Trunks carries traffic for multiple VLANs

VLAN Membership Modes Static VLAN Dynamic VLAN Port e0/4 Port e0/9 Trunk Port e0/4 Port e0/9 VLAN5 Slide 1 of 1 Purpose: Emphasize: Note: Once a port has been assigned to a VLAN, it can not send or receive traffic from devices in another VLAN without the intervention of a layer 3 device like a router. The 1900 can’t be configure as the VMPS. A CiscoWorks 2000 or CWSI management station or a Cat 5000 switch can be configured as the VMPS. In the future, dynamic VLANs may also offer membership based on other criteria such as protocol or application. Dynamic VLANs are covered in the Managing Cisco Switched Internetworks class. VLAN10 VMPS 1111.1111.1111 = vlan 10 MAC = 1111.1111.1111

802.1q Tagging Not intrusive to client stations, client does not see the 8-2.q header Effective between switches, routers and switches, switches and servers with 802.1q network interface cards VLAN Tag added by outgoing port 802.1q carries VLAN identifier Slide 1 of 1 Purpose: Emphasize: Note: The 1900 only supports ISL trunking. ISL is Cisco Proprietary. 802.1Q is an IEEE standard. Other trunk types: LANE (VLANSs over ATM) 802.10 (FDDI trunk) VLAN Tag stripped by forwarding port

802.1Q Frame

VTP Pruning Reduces unnecessary flooded (broadcast/unknown address) traffic Example: Station A sends broadcast. Broadcast is only flooded toward any switch with ports assigned to the green VLAN Port 2 B Switch 4 Flooded traffic is pruned Switch 2 Slide 1 of 1 Purpose: Emphasize: VTP prunning provides optimized flooding. Without VTP prunning, station A’s broadcast will be flooded to all switches whether they have any port in the red vlan or not. Note: VLAN 1 can’t be prunned. STP, CDP, VTP updates are sent on VLAN1. All switches in the switched network must support prunning or prunning will be disabled. Each trunk port maintains a state variable per vlan indicating if the switch has any port assigned to a particular vlan or not. Green VLAN Switch 5 Port 1 A Switch 6 Switch 3 Switch 1

VLAN Configuration Guidelines Maximum number of VLANs is switch-dependent VLAN1 is One of the factory default VLANs CDP and VTP advertisements are sent on VLAN1 Must be in VTP server or transparent mode to create, add, or delete VLANs Slide 1 of 1 Purpose: Emphasize: Note: In the ICND lab, All the switches and routers are in VLAN1. The core server and the core router are in multiple VLANs. Each workgroup PC is on an unique VLAN.

VLAN Configuration Steps Enable VTP (optional) Enable trunking Create VLANs Assign VLAN to ports Slide 1 of 1 Purpose: Show the four basic steps for configuring VLANs. Emphasize:

Defining a Trunk Many Options… On = Set trunk on and negotiate with other side Result - Trunk on if other side is on, desirable, or auto Desirable = Negotiate with other side. Result - Trunk on if other side is on, desirable, or auto Auto = Will be a trunk only if the other side is on or desirable Non-negotiate = Set trunk on and will not negotiate Slide 2 of 2 Purpose: Emphasize: Note:

Defining a Trunk On = Set trunk on and negotiate with other side Result =Trunk on if other side is on, desirable, or auto Slide 1 of 2 Purpose: Emphasize: The 1900 supports DISL. Note: At the time of the beta, the core switch (2900xl) does not support DISL. If trunking is on at one end, and off at the other end, the link will be down. Switch1(config-if)# switchport mode trunk

switchport mode dynamic desirable Defining a Trunk Desirable = Negotiate with other side Result =Trunk on if other side is on, desirable, or auto Slide 1 of 2 Purpose: Emphasize: The 1900 supports DISL. Note: At the time of the beta, the core switch (2900xl) does not support DISL. If trunking is on at one end, and off at the other end, the link will be down. Switch1(config-if)# switchport mode dynamic desirable

switchport mode dynamic auto Defining a Trunk Auto = Default setting Result =Trunk on if other side is on or desirable Slide 1 of 2 Purpose: Emphasize: The 1900 supports DISL. Note: At the time of the beta, the core switch (2900xl) does not support DISL. If trunking is on at one end, and off at the other end, the link will be down. Switch1(config-if)# switchport mode dynamic auto

switchport nonegotiate Defining a Trunk Non-negotiate = Do not send DTP frames to negotiate with other side Result =Trunk on if other side set on or non-negotiate Slide 1 of 2 Purpose: Emphasize: The 1900 supports DISL. Note: At the time of the beta, the core switch (2900xl) does not support DISL. If trunking is on at one end, and off at the other end, the link will be down. Switch1(config-if)# switchport nonegotiate

Verifying a Trunk Switch#sh int trunk wg_sw_a#show interface trunk Switch#sh int trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1-1005 Port Vlans allowed and active in management domain Fa0/1 1,1002,1003,1004,1005 Port Vlans in spanning tree forwarding state and not pruned Slide 1 of 2 Purpose: Emphasize: Trunk A = fasthethernet 0/26 Trunk B = fastetherent 0/27

Adding a VLAN Switch1(config)# vlan vlan# Switch1#conf terminal Enter configuration commands, one per line. End with CNTL/Z Switch1(config)#vlan 9 Switch1(config-vlan)# name Accounting VLAN Slide 1 of 2 Purpose: Emphasize: Each VLAN has a unique, four-digit number that can be from 1 to 1001. To add a VLAN to the VLAN database, the minimum parameter required is the VLAN number.

wg_sw_a#show vlan [vlan#] Verifying a VLAN wg_sw_a#show vlan [vlan#] Slide 1 of 2 Purpose: Emphasize:

Assigning Switch Ports to a VLAN Switch1(config-if)# switchport access vlan 2 Slide 1 of 2 Purpose: Emphasize: By default, all ports are in VLAN 1.

Review Questions 1. What is a VLAN? 2. How do switches learn MAC addresses? 3. Across a trunk the VLAN ID is carried in the ________ header. 4. How do we assign a VLAN to a port? Slide 1 of 1 Purpose: Emphasize: Notes: Refer to the appendix for answer to the review questions.

Lab Lab file Lab scenario Module 17 – Switch Configuration Lab-1.doc Module 17 – Switch Configuration Lab-1.pkt Module 17 – Switch Configuration Lab-2.pkt