XCCNA3 3.1-08 VLAN - JP
XCCNA3 3.1-08 VLAN - JP
XCCNA3 3.1-08 VLAN - JP
Chapter 8
The
VLAN
Perrine / Brierley
05/27/15
Page 1
Cisco 3 - LAN
Chapter 8
VLAN
VLAN:
is a logical grouping
grouped by:
function
department
application
VLAN configuration is done by
software.
Perrine / Brierley
05/27/15
Page 2
Cisco 3 - LAN
Chapter 8
HUB
MacintoshSE
Sales
MacintoshSE
MacintoshSE
MacintoshSE
HUB
MacintoshSE
Design
MacintoshSE
Perrine / Brierley
05/27/15
Page 3
Cisco 3 - LAN
Chapter 8
Switch
MacintoshSE
MacintoshSE
2nd floor
MacintoshSE
1st floor
Switch
MacintoshSE
MacintoshSE
Admin
Perrine / Brierley
05/27/15
Students
Instructors
Page 4
Cisco 3 - LAN
Chapter 8
Perrine / Brierley
05/27/15
Page 5
Cisco 3 - LAN
Chapter 8
Properties of VLANs:
VLANs work at layer 2 & 3 of OSI model
Communications between VLANs is by layer 3
routing
VLANs provide a method of controlling network
broadcast
Network administrator assigns users to VLAN
VLANs can increase network security by defining
which network nodes can communicate with each
other
A VLAN is a broadcast domain that one or more
switches
create.
05/27/15
Perrine
/ Brierley
Page 6
Cisco 3 - LAN
Chapter 8
Switch
MacintoshSE
MacintoshSE
2nd floor
MacintoshSE
1st floor
Switch
MacintoshSE
MacintoshSE
Broadcast
domain
Admin
Perrine / Brierley
05/27/15
Broadcast
domain
Students
Broadcast
domain
Instructors
Page 7
Cisco 3 - LAN
Chapter 8
VLAN Operation
Ports that are assigned to the same VLAN share broadcasts.
Ports that do not belong to that VLAN do not share these broadcast.
There are two (2) methods in which to create VLANs:
1. Static VLANs
This method is also referred to a port-based membership. As a
device is connected to the network, it automatically assumes
the VLAN of that port
2. Dynamic VLANs
Dynamic VLANs are created through the use of software
packages such as CiscoWorks 2000. With a VLAN
Management Policy Server (VMPS), you can assign switch
ports to VLANs dynamically based on the source MAC address
of the device that is connected to the port.
Perrine / Brierley
05/27/15
Page 8
Cisco 3 - LAN
Chapter 8
Static VLAN
Perrine / Brierley
05/27/15
Page 9
Cisco 3 - LAN
Chapter 8
Advantages of VLANs:
reduce administration costs related to solving problems associated
with moves, additions & changes
20%-40% of the workforce physically moves each year
one can move the node to a new location without changing its
IP / subnet address by plugging the node into port for that VLAN
controls broadcast activity
provide workgroup & network security
save money by keeping their HUBs and connecting them to
switches i.e. dont have to throw away the HUBs.
The goal of the end-to-end VLANs, is to maintain the 80/20 traffic flow
rule 80% of the traffic on the local VLAN, and 20% on a remote VLAN.
Perrine / Brierley
05/27/15
Page 10
Cisco 3 - LAN
Chapter 8
Broadcast:
Switches (not talking about VLANs here) create smaller collision
domains, but they do not create smaller broadcast domains. Hence
use routers which dont propagate broadcasts.
Though by setting up the different VLANs on a switch, one can control
the broadcast messaging from one VLAN to another.
Security:
restrict the number of users in a VLAN group
prevent another user from joining without first receiving approval
from the VLAN network administrator
configure all unused ports to a default low-service VLAN
adding access list in the router
Perrine / Brierley
05/27/15
Page 11
Cisco 3 - LAN
Chapter 8
05/27/15
Page 12
Cisco 3 - LAN
Chapter 8
VLAN Types
Port-based VLANs (static):
nodes connected to ports in the same VLAN have same VLAN ID.
users are assigned by port
MAC address-based VLANs (dynamic):
VLAN Management Policy Server (VMPS)
are ports on a switch that can automatically determine their VLAN
assignments
Protocol-based VLANs (dynamic):
are ports on a switch that can automatically determine their VLAN
assignments
functions are based on:
logical addressing
protocol type
Perrine / Brierley
05/27/15
Page 13
Cisco 3 - LAN
Chapter 8
05/27/15
Page 14
Cisco 3 - LAN
Chapter 8
05/27/15
Page 15
Cisco 3 - LAN
Chapter 8
Frame Identification
unique VLAN ID is assigned to each
VLAN in the switch
the tagged frame travels the backbone
among switches
when the frame exits the switch on nonbackbone, the identifier is removed
Perrine / Brierley
Cisco 3 - LAN
Chapter 8
VLAN2
Switch
MacintoshSE
MacintoshSE
2nd floor
Backbone
MacintoshSE
1st floor
Switch
MacintoshSE
MacintoshSE
VLAN2
VLAN1
VLAN2
VLAN3
Perrine / Brierley
05/27/15
Page 17
Cisco 3 - LAN
Chapter 8
FDDI 802.10
Is a Cisco proprietary method of transporting VLAN
information inside the standard IEEE 802.10 frame for
Fiber Distributed Data Interface (FDDI).
Perrine / Brierley
05/27/15
Page 18
Cisco 3 - LAN
Chapter 8
Perrine / Brierley
05/27/15
Page 19
Cisco 3 - LAN
Chapter 8
FACTS
VLAN makes up a switched network that is logically segmented
by functions, project teams or applications, without regard to the
physical location of users.
Each switch port can be assigned to a VLAN.
Ports assigned to the same VLAN share broadcasts.
So VLANs are used to create broadcast domains.
VLAN implementation methods used to assign a switch port to a
VLAN:
port-centric
static
dynamic
Perrine / Brierley
05/27/15
Page 20
Cisco 3 - LAN
Chapter 8
MacintoshSE
Switch
MacintoshSE
MacintoshSE
2nd floor
MacintoshSE
1st floor
Switch
MacintoshSE
MacintoshSE
Admin
Students
Instructors
Only the devices on the same VLAN contend with collisions. Hence
broadcast traffic within one VLAN is not transmitted outside the VLAN.
Perrine / Brierley
05/27/15
Page 21
Cisco 3 - LAN
Chapter 8
NOTE:
05/27/15
Page 22
Cisco 3 - LAN
Chapter 8
NOTEs:
05/27/15
Page 23
Cisco 3 - LAN
MacintoshSE
Chapter 8
MacintoshSE
MacintoshSE
MacintoshSE
MacintoshSE
MacintoshSE
MacintoshSE
MacintoshSE
05/27/15
Page 24
Cisco 3 - LAN
Chapter 8
Non-VLAN
MacintoshSE
Switch A
MacintoshSE
MacintoshSE
Router
MacintoshSE
MacintoshSE
Switch B
MacintoshSE
MacintoshSE
05/27/15
Page 25
Cisco 3 - LAN
Chapter 8
PSTN
Local Office
Toll Office
Tandem
Class 5
Class 4
Class 3
Local Office
Tandem Office
Toll Office
Toll Office
Trunk
Line
Local Loop
Demarc
Perrine / Brierley
05/27/15
Page 26
Cisco 3 - LAN
Chapter 8
Troubleshooting
Switch#show vlan
Switch#show vlan brief
Switch#show spanning-tree
Switch#Show interface
PSTN (Public Switched Telephone Network)
Perrine / Brierley
05/27/15
Page 27