2.4.a Access ports (data and voice)
We will configure VLANs in the normal range (1-1005) and the extended range (1006-4094).
For PC1 and PC2 to communicate only L2 connectivity is needed as they are on the same VLAN.
The steps are as follows:
1.) Configure PC1 and PC2 to be on access ports and assign the voice and access VLANs
interface Ethernet0/0 switchport mode access switchport access vlan 1006 switchport voice vlan 10 !
2.) Configure a trunk port on each switch
interface Ethernet0/1 switchport trunk encapsulation dot1q switchport mode trunk !
That’s it! As both switches contain the VLANs 1006 and 10 they will forward the traffic between switches seamlessly.
2.4.b Default VLAN
The default VLAN is 1. It cannot be disabled and poses a security risk as a lot of Cisco services run on the default VLAN. It is recommended to set all ports to a different VLAN and to assign a single unused port to VLAN 1.