Two VLAN tagging protocols.
ISL- Cisco proprietary
802.1Q - Open IEEE
Static vs Dynamic VLAN
Static- Port is assigned a VLAN
Dynamic- VLAN is assigned according to MAC address connected to port. Use VMPS Vlan Management Policy Server.
What domain is each separate VLAN in?
Broadcast
Hosts in one VLAN cannot reach hosts in another VLAN, by default
A Layer 3 device is needed for inter-VLAN communication (this will be
covered later)
Each VLAN needs its own subnet, for example, VLAN 1 –
192.168.1.0/24, VLAN 2 – 192.168.2.0/24
All hosts in a VLAN should belong to the same subnet
Which VLAN is generally native by default?
VLAN 1
At what point are frames tagged with VLAN ID?
At trunk port based on access port it originated from.
Vlan tagging only occurs on the trunk, not access port. It just states that if the port is an access port and not trunk, the frame will not be tagged. The switch will strip off the vlan tag at the end of the trunk and switch it in hardware to the correct access port it needs to go to.
Is Native VLAN traffic tagged?
No.
3 types of switchports?
Access links or ports
Trunk links or ports
Dynamic (this will be discussed shortly)
How many VLANs can be created?
4096
VLAN 802.1Q trunking commands
Sw(config)#interface FastEthernet 0/1
Sw(config-if)#switchport
Sw(config-if)#switchport mode trunk
Sw(config-if)#switchport trunk encapsulation dot1q
5 trunk modes:
Switchport: Auto -> Auto
Access
Switchport: Auto -> Desirable
Trunk
Switchport: Auto -> Trunk
Trunk
Switchport: Auto -> Access
Access
Switchport: Desirable -> Auto
Trunk
Switchport: Desirable -> Desirable
Trunk
Switchport: Desirable -> Trunk
Trunk
Switchport: Desirable -> Access
Access
Switchport: Trunk -> Auto
Trunk
Switchport: Trunk -> Desirable
Trunk
Switchport: Trunk -> Trunk
Trunk
Switchport: Trunk -> Access
Limited Connectivity
Switchport: Access -> Auto
Access
Switchport: Access -> Desirable
Access