mod-3-CCNA v7 - SRWE - Module 3 VLANs
mod-3-CCNA v7 - SRWE - Module 3 VLANs
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 51
Overview of VLANs
VLAN Definitions
VLANs are logical connections with other similar
devices.
Placing devices into various VLANs have the following
characteristics:
• Provides segmentation of the various groups of
devices on the same switches
• Provide organization that is more manageable
• Broadcasts, multicasts and unicasts are
isolated in the individual VLAN
• Each VLAN will have its own unique
range of IP addressing
• Smaller broadcast domains
Overview of VLANs
Benefits of a VLAN Design
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 57
VLANs in a Multi-Switched Environment
Defining VLAN Trunks
A trunk is a point-to-point link between
two network devices.
Cisco trunk functions:
• Allow more than one VLAN
• Extend the VLAN across the entire
network
• By default, supports all VLANs
• Supports 802.1Q trunking
VLANs in a Multi-Switched Environment
Networks without VLANs
Without VLANs, all devices connected to the switches will receive all unicast, multicast, and
broadcast traffic.
VLANs in a Multi-Switched Environment
Networks with VLANs
With VLANs, unicast, multicast, and broadcast traffic is confined to a VLAN. Without a Layer 3 device
to connect the VLANs, devices in different VLANs cannot communicate.
VLANs in a Multi-Switched Environment
VLAN Identification with a Tag
• The IEEE 802.1Q header is 4 Bytes
• When the tag is created the FCS must be recalculated.
• When sent to end devices, this tag must be removed and
the FCS recalculated back to its original number.
• The phone will tag its own traffic (Voice) and can set Cost of
Service (CoS). CoS is QoS for layer 2.
• The phone may or may not tag frames from the PC.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 65
VLAN Configuration
VLAN Ranges on Catalyst Switches
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 74
VLAN Trunks
Trunk Configuration Commands
Configure and verify VLAN trunks. Trunks are layer 2 and carry traffic for all VLANs.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 79
Dynamic Trunking Protocol
Introduction to DTP
Dynamic Trunking Protocol (DTP) is a proprietary Cisco protocol.
DTP characteristics are as follows:
• On by default on Catalyst 2960 and 2950 switches
• Dynamic-auto is default on the 2960 and 2950 switches
• May be turned off with the nonegotiate command
• May be turned back on by setting the interface to dynamic-auto
• Setting a switch to a static trunk or static access will avoid negotiation issues with the switchport
mode trunk or the switchport mode access commands.
Dynamic Trunking Protocol
Negotiated Interface Modes
The switchport mode command has additional options.
Use the switchport nonegotiate interface configuration command to stop DTP negotiation.
Option Description
Permanent access mode and negotiates to convert the neighboring link into an
access
access link
Will becomes a trunk interface if the neighboring interface is set to trunk or
dynamic auto
desirable mode
Actively seeks to become a trunk by negotiating with other auto or desirable
dynamic desirable
interfaces
Permanent trunking mode and negotiates to convert the neighboring link into
trunk
a trunk link
Dynamic Trunking Protocol
Results of a DTP Configuration