Configuring Voice VLANs on CISCO switch
Why doe we need VOICE VLANS?
1. QoS
2. Enhanced Security
3. Efficient Use of Network Resources
Prerequisites:
1. Ensure that you are working with a switch access port (voice VLAN configuration is not supported on trunk ports).
2. Enable Quality of Service (QoS) on the switch using the following commands:
switch(config)# mls qos !Enables Quality of Service (QoS) features.
switch(config-if)# mls qos trust cos !It tells the switch to trust the CoS (Class of Service) value set by the connected device (usually an IP phone).
3. You must enable CDP on the device port connected to the Cisco IP Phone to send the configuration to the phone. (CDP is globally enabled by default on all device interfaces.)
Configuration:
conf t
vlan 300
name WORKSTATION
exit
!
vlan 700
name VOIP
exit
!
interface fa0/1
switchport mode access
switchport access vlan 300
switchport voice vlan 700
exit
Verification:
show interfaces fa0/1 switchport
show interfaces fa0/1 trunk
References:
https://www.cisco.com/c/en/us/td/docs...
https://networklessons.com/cisco/ccna...
#ccna #ccnp #cisco #networking