CCNA Explorer 3 VLANs

From Teknologisk videncenter
Jump to: navigation, search

3 VLANs

3.1 Introducing VLANs

Before VLANs
What is a VLAN?
What is a VLAN?
VLAN security
VLAN Characteristics

3.1.2 Types of VLANs

Data VLAN
Kaldes datavlan for at fremhæve der ikke skal være fx voice eller mgmt trafik på det. Er beregnet til brugerdata
Default VLAN
Som default er alle porte medlem af et VLAN, på en ny switch er det VLAN 1. VLAN1 kan ikke omdøbes eller slettes. CDP og STP kører som default på default VLAN.
Nativ VLAN
Nativ VLAN bruges i IEEE802.1Q trunks til untagged pakker. Best-practice er at bruge andet end VLAN 1 til nativ vlan.
Management VLAN
Management VLAN bruges til at kontrollere switchen, så der skal sættes en IP adr. på vlan'et.
IP Phones in the Network
Inside an IP Phone
Sample Configuration
IP Telephony traffic
  • Signaling traffic
  • Voice traffic

3.1.3 Switch Port Membership Modes

Switch port modes

VLAN Membership Policy Server

Voice port Configuration

3.1.4 Controlling Broadcast Domains with VLANs

Broadcast domain with no VLAN segmentation
Controlling broadcast domains with VLANs and Routers
Fortæl lidt om hvordan en pakke bliver sendt på tværs af vlans. Med ARP og det hele.
Controlling broadcast domains with L3 Switches

3.2 VLAN Trunking

3.2.1 VLAN Trunks

Definition of a trunk: A trunk is a point-to-point link between two network devices that carries more than one VLAN.
VLAN Trunks
Without VLAN Trunks
With VLAN Trunks
802.1Q Tag Field
3 bits of user priority - Used by the 802.1p standard, which specifies how to provide expedited transmission of Layer 2 frames.

1 bit of Canonical Format Identifier (CFI) - Enables Token Ring frames to be carried across Ethernet links easily.
12 bits of VLAN ID (VID) - VLAN identification numbers; supports up to 4096 VLAN IDs.

Nativ VLAN
Nativ VLAN Configuration

3.2.3 Trunking Modes

DTP port configuration
DTP port configuration
  • On Sender DTP frames og bliver i trunk mode
  • Dynamic Auto Sender DTP frames, men foreslår ikke trunking
  • Dynamic desirable Sender DTP frames, og vil gerne trunke
  • Off Sender ikke DTP frames, bruges mod ikke-Cisco udstyr

3.3 Configuring VLANs and Trunks

3.3.1 Configura VLANs and Trunks Overview

Configura VLANs and Trunks Overview
Add a VLAN
Verify the VLAN
Assign a Switch Port
Verify a switch port

3.3.3 Manging VLANs

VLAN command syntax
Show VLAN
Show VLAN interface
Show interface swithcport
no switchport access vlan
Delete vlan with no vlan vlan-id or delete flash:vlan.dat

3.3.4 Configure a trunk

Configura an 802.1Q Trunk - Topology
Configura an 802.1Q Trunk - Commands
Verify trunks
Allow VLANs

3.4 Troubleshooting VLANs and Trunks

3.4.1 Common Problems with Trunks

Common problems with trunks
Nativ VLAN mismatch - Nativ vlan on S3 = 100
Trunk mode mismatch
Incorrect VLAN list - VLAN 20 is not allowed on F0/3 on S1
Incorrect VLAN and Subnet

3.5 Chapter Summary

3.6.1 Chapter Summary

Chapter Summary

Links

VLAN Security White Paper