VLANs are logical connections with other similar devices.
Placing devices into various VLANs have the following characteristics:
| Benefits | Description |
| Smaller Broadcast Domains | Dividing the LAN reduces the number of broadcast domains |
| Improved Security | Only users in the same VLAN can communicate together |
| Improved IT Efficiency | VLANs can group devices with similar requirements, e.g. faculty vs. students |
| Reduced Cost | One switch can support multiple groups or VLANs |
| Better Performance | Small broadcast domains reduce traffic, improving bandwidth |
| Simpler Management | Similar groups will need similar applications and other network resources |
Default VLAN
VLAN 1 is the following:
Note: While we cannot delete VLAN1 Cisco will recommend that we assign these default features to other VLANs
Data VLAN
Native VLAN
Management VLAN
Voice VLAN
Cisco trunk functions:
Without VLANs, all devices connected to the switches will receive all unicast, multicast, and broadcast traffic.
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.
802.1Q trunk basics:
Dynamic Trunking Protocol (DTP) is a proprietary Cisco protocol.
DTP characteristics are as follows:
Create VLANs on S1,S2,S3
S1
vlan 10
name Faculty/Staff
vlan 20
name Students
vlan 30
name Guest(Default)
vlan 99
name Management&Native
vlan 150
name VOICE
S2
vlan 10
name Faculty/Staff
vlan 20
name Students
vlan 30
name Guest(Default)
vlan 99
name Management&Native
vlan 150
name VOICE
S3
vlan 10
name Faculty/Staff
vlan 20
name Students
vlan 30
name Guest(Default)
vlan 99
name Management&Native
vlan 150
name VOICE
Assign VLANs to the active ports on S2
interface f0/11
switchport mode access
switchport access vlan 10
interface f0/18
switchport mode access
switchport access vlan 20
interface f0/6
switchport mode access
switchport access vlan 30
Assign VLANs to the active ports on S3
interface f0/11
switchport mode access
switchport access vlan 10
mls qos trust cos
switchport voice vlan 150
interface f0/18
switchport mode access
switchport access vlan 20
interface f0/6
switchport mode access
switchport access vlan 30
ON S1 Configure Trunk
interface range g0/1-2
switchport mode trunk
Test connectivity between All PCs
SWB Config
vlan 10
name Admin
vlan 20
name Accounts
vlan 30
name HR
vlan 40
name Voice
vlan 99
name Management
vlan 100
name Native
interface f0/1
switchport mode access
switchport access vlan 10
interface f0/2
switchport mode access
switchport access vlan 20
interface f0/3
switchport mode access
switchport access vlan 30
interface vlan 99
ip address 192.168.99.253 255.255.255.0
interface G0/1
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 100
———————————–
SWA Config
vlan 10
name Admin
vlan 20
name Accounts
vlan 30
name HR
vlan 40
name Voice
vlan 99
name Management
vlan 100
name Native
interface vlan 99
ip address 192.168.99.252 255.255.255.0
interface G0/1
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 100
interface G0/2
switchport mode dynamic desirable
switchport trunk native vlan 100
————————————-
SWC Configuration
vlan 10
name Admin
vlan 20
name Accounts
vlan 30
name HR
vlan 40
name Voice
vlan 99
name Management
vlan 100
name Native
interface f0/1
switchport mode access
switchport access vlan 10
interface f0/2
switchport mode access
switchport access vlan 20
interface f0/3
switchport mode access
switchport access vlan 30
interface f0/4
switchport mode access
switchport access vlan 10
mls qos trust cos
switchport voice vlan 40
interface vlan 99
ip address 192.168.99.254 255.255.255.0
interface G0/2
switchport mode dynamic Auto
switchport trunk native vlan 100