Chapter 9 – Implementing Ethernet Virtual LANs

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Advertisements

Chapter 3: Link Aggregation
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Inter- VLAN Routing LAN Switching and Wireless – Chapter 6.
Implementing Inter-VLAN Routing
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.
VLANs Module 2. 2 VLANs  VLANs  Trunking  VLAN Trunking Protocol (VTP)
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing & Switching.
Packet Tracer 6 Building a VoIP Network (Part 3)
VLANs- Chapter 3 CCNA Exploration Semester 3 Modified by Profs. Ward
Understanding Virtual LANs. Agenda What Is a VLAN? How Does it Work? VLAN Technologies.
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)
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Configuring VLANs.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—2-1 Implementing VLANs in Campus Networks Configuring PVLANs.
VLANs.ppt CCNA Exploration Semester 3 Chapter 3
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.
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.
Chapter review Chapter 5 test.
Instructor & Todd Lammle
CIT 384: Network AdministrationSlide #1 CIT 384: Network Administration VLANs.
VLAN Trunking Protocol (VTP)
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.
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.
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 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 7 VLAN and VPNs.
© 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 8 Virtual LANs Cisco Networking Academy.
Inter VLAN routing using ISL By Eric and Holly. Overview of ISL Trunking Trunking is a way to carry traffic from several VLANs over a point-to-point link.
© 1999, Cisco Systems, Inc. 4-1 Chapter 10 Controlling Campus Device Access Chapter 4 Defining Common Workgroups © 1999, Cisco Systems, Inc
VLAN Segmentation 1. It’s all about the IP Address 2 Rick Santa Cruz, Ca Emmalia Santa Cruz, Ca Emmalia, you are in my neighborhood so I can take the.
W&L Page 1 CCNA CCNA Training 2.7 Configure and verify trunking on Cisco switches Jose Luis Flores / Amel Walkinshaw Aug, 2015.
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
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.
© 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.
+ 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.
Cisco Study Guide
Chapter 6 Thanks to the instructors at St. Clair College in Windsor, Ontario.
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Chapter 8 – Virtual LANs Virtual LANs VLAN Concepts VLAN Configuration.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Instructor Materials Chapter 2: Scaling VLANs
Instructor Materials Chapter 4: EtherChannel and HSRP
Switching and VLANs.
Chapter 11 VLANs and Inter-VLAN Routing
Switch Commands.
Instructor & Todd Lammle
Switching and VLANs.
Extending Switched Networks with Virtual LANs
Chapter 5: Inter-VLAN Routing
Introduction to Networking
Chapter 2: Scaling VLANs
Medium-Sized Switched Network Construction
Switching and VLANs.
Switching and VLANs.
Cisco networking CNET-448
Chapter 2: Scaling VLANs
Virtual LAN VLAN Trunking Protocol and Inter-VLAN Routing
Presentation transcript:

Chapter 9 – Implementing Ethernet Virtual LANs CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs

Objectives Virtual LAN Concepts VLAN and VLAN Trunking Configuration and Verification

Creating Two Broadcast Domains with Two Physical Switches and No VLANs

Creating Two Broadcast Domains Using 1 Switch and VLANs

A Multi-switch VLAN without VLAN Trunking

A Multi-switch VLAN with Trunking

VLAN Trunking Between Two Switches

802.1Q Trunking

Routing Between VLANs on Two Physically Separated Switches

Routing Between Two VLANs on Two Physical Interfaces

Routing Between Two VLANs Using a Trunk on the Router

The Multilayer Switch: Layer 2 Switching with Layer 3 Routing in One Device

Network with One Switch and Three VLANs

Configuring VLANs and Assigning VLANs to Interfaces Part One SW1#show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gi0/1, Gi0/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup ! Above, VLANs 2 and 3 do not yet exist. Below, VLAN 2 is added, with name Freds-vlan, ! with two interfaces assigned to VLAN 2.  

Configuring VLANs and Assigning VLANs to Interfaces Part Two ! Below, the show running-config command lists the interface subcommands on ! interfaces Fa0/13 and Fa0/14. SW1#show running-config ! Many lines omitted for brevity ! Early in the output: vlan 2 name Freds-vlan ! ! more lines omitted for brevity interface FastEthernet0/13 switchport access vlan 2 switchport mode access interface FastEthernet0/14  

Configuring VLANs and Assigning VLANs to Interfaces Part Three SW1#show vlan brief   VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gi0/1, Gi0/2 2 Freds-vlan active Fa0/13, Fa0/14 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup

Configuring VLANs and Assigning VLANs to Interfaces Part Four SW1#show vlan id 2 VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 2 Freds-vlan active Fa0/13, Fa0/14   VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 2 enet 100010 1500 - - - - - 0 0 Remote SPAN VLAN ---------------- Disabled Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------

Shorter VLAN Configuration Example (VLAN 3) SW1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#interface range Fastethernet 0/15 - 16 SW1(config-if-range)#switchport access vlan 3 % Access VLAN does not exist. Creating vlan 3 SW1(config-if-range)#^Z   SW1#show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gi0/1, Gi0/2 2 Freds-vlan active Fa0/13, Fa0/14 3 VLAN0003 active Fa0/15, Fa0/16 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup

Trunking Administrative Mode Options with the switchport mode Command Command Option Description access Always act as an access (nontrunk) port trunk Always act as a trunk port dynamic desirable Initiates negotiation messages and responds to negotiation messages to dynamically choose whether to start using trunking dynamic auto Passively waits to receive trunk negotiation messages, at which point the switch will respond and negotiate whether to use trunking

Network with Two Switches and Three VLANs

Initial (Default) State: Not Trunking Between SW1 and SW2 part 1 SW1#show interfaces gigabit 0/1 switchport Name: Gi0/1 Switchport: Enabled Administrative Mode: dynamic auto Operational Mode: static access Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: native Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none

Initial (Default) State: Not Trunking Between SW1 and SW2 part 2 Voice VLAN: none Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk Native VLAN tagging: enabled Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none

Initial (Default) State: Not Trunking Between SW1 and SW2 part 3 Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL   Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none ! Note that the next command results in a single empty line of output. SW1#show interfaces trunk SW1#

SW1 Changes from Dynamic Auto to Dynamic Desirable part 1 SW1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#interface gigabit 0/1 SW1(config-if)#switchport mode dynamic desirable SW1(config-if)#^Z SW1# 01:43:46: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down 01:43:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up SW1#show interfaces gigabit 0/1 switchport Name: Gi0/1 Switchport: Enabled Administrative Mode: dynamic desirable Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default)

SW1 Changes from Dynamic Auto to Dynamic Desirable part 2 ! The next command formerly listed a single empty line of output; now it lists ! information about the 1 operational trunk. SW1#show interfaces trunk   Port Mode Encapsulation Status Native vlan Gi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunk Gi0/1 1-4094 Port Vlans allowed and active in management domain Gi0/1 1-3 Port Vlans in spanning tree forwarding state and not pruned

SW1 Changes from Dynamic Auto to Dynamic Desirable part 3 SW1#show interfaces trunk   Port Mode Encapsulation Status Native vlan Gi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunk Gi0/1 1-4094 Port Vlans allowed and active in management domain Gi0/1 1-3 Port Vlans in spanning tree forwarding state and not pruned SW1#show vlan id 2 VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 2 Freds-vlan active Fa0/13, Fa0/14, G0/1 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 2 enet 100010 1500 - - - - - 0 0 Remote SPAN VLAN ---------------- Disabled Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ SW1 Changes from Dynamic Auto to Dynamic Desirable part 3

Expected Trunking Operational Mode Based on the Configured Administrative Modes Access Dynamic Auto Trunk Dynamic Desirable access Do Not Use1 dynamic auto trunk dynamic desirable 1When two switches configure a mode of “access” on one end, and “trunk” on the other, problems occur. Avoid this combination.

Allowed VLAN List and the List of Active VLANs part 1 ! The three lists of VLANs in the next command list allowed VLANs (1-4094), ! Allowed and active VLANs (1-3), and allowed/active/not pruned/STP forwarding ! VLANs (1-3) SW1#show interfaces trunk   Port Mode Encapsulation Status Native vlan Gi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunk Gi0/1 1-4094 Port Vlans allowed and active in management domain Gi0/1 1-3 Port Vlans in spanning tree forwarding state and not pruned

Allowed VLAN List and the List of Active VLANs part 2 ! Next, the switch is configured with new VLAN 4; VLAN 2 is shutdown; ! and VLAN 3 is removed from the allowed VLAN list on the trunk. SW1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#vlan 4 SW1(config-vlan)#vlan 2 SW1(config-vlan)#shutdown SW1(config-vlan)#interface gi0/1 SW1(config-if)#switchport trunk allowed vlan remove 3 SW1(config-if)#^Z   ! The three lists of VLANs in the next command list allowed VLANs (1-2, 4-4094), ! allowed and active VLANs (1,4), and allowed/active/not pruned/STP forwarding ! VLANs (1,4) SW1#show interfaces trunk Port Mode Encapsulation Status Native vlan Gi0/1 desirable 802.1q trunking 1

Allowed VLAN List and the List of Active VLANs part 3 ! VLAN 3 is omitted next, because it was removed from the allowed VLAN list. Port Vlans allowed on trunk Gi0/1 1-2,4-4094   ! VLAN 2 is omitted below because it is shutdown. VLANs 5-4094 are omitted below ! because SW1 does not have them configured. Port Vlans allowed and active in management domain Gi0/1 1,4 Port Vlans in spanning tree forwarding state and not pruned