Anda di halaman 1dari 7

CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

Virtual LANs

VLAN Concepts
VLAN Configuration
Troubleshooting VLANs

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

Overview
• Created by software running on Layer 2 switches
• VLANs can be static or dynamic – responsibility of the
network administrator
• Segment LANs into logical groupings e.g. by function,
project team, application
• Users must be in the same VLAN as their workgroup
server
• VLAN is a broadcast domain
• Traffic can be switched between VLANS with a router

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

VLAN Operation
• Switches maintain a
bridging table for each
VLAN
• Switches can support
multiple VLANs
• Switches perform
filtering/forwarding based
on VLAN ID

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

Benefits of VLANs
• Create broadcast
domains
• Control network traffic
• Increased security
• Workstations can be
moved without needing
reconfiguration

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

VLAN Membership
• Port based
• MAC addressed based
• Protocol based

• Any VLAN is a layer 3 broadcast domain

• VLAN traffic between switches (trunks) is tagged


(802.1q) or encapsulated (ISL) to identify VLAN
membership

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

VLAN IOS Configuration


Example

Switch#vlan database
Switch(vlan)#vlan 2
Switch(vlan)#name marketing
Switch(vlan)#exit

Switch(config)#interface fastethernet 0/9


Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2

Chapter 8 – Virtual LANs


CISCO NETWORKING ACADEMY PROGRAM

CCNA3: Switching Basics and Intermediate Routing v3.0

Other VLAN/switching commands


• Switch#show vlan
• Switch#show vlan brief
• Switch#show spanning-tree
• Switch#Show interface

Chapter 8 – Virtual LANs

Anda mungkin juga menyukai