Tutorials · Switching

How to Configure a Voice VLAN and QoS for IP Phones

Give IP phones their own VLAN and priority so calls stay clear even when the network is busy.

Intermediate12 min5 steps

Before you start

  • A managed PoE switch
  • SIP IP phones
  • A voice VLAN in your IP plan

Step by step

  1. Create the voice VLAN

    vlan 20
     name VOICE
    
  2. Enable voice VLAN on access ports

    A PC can connect through the phone while the phone uses the voice VLAN.

    interface range gigabitEthernet 0/1-24
     switchport access vlan 10
     switchport voice vlan 20
    
  3. Trust phone markings

    Phones mark voice packets with DSCP EF (46). Trust them on access ports.

    mls qos trust dscp
    
  4. Prioritise voice on uplinks

    Place EF traffic in the strict-priority queue on uplinks and the WAN.

  5. Verify call quality

    Make test calls during busy hours and check jitter and packet loss on the phone or PBX.

Commands are generic, industry-standard examples. Exact syntax and menu names vary by model and firmware; check your device's manual on the Documentation page.

Pro tips

  • Size the Internet upload for concurrent calls (about 100 kbps per G.711 call).
  • Use LLDP-MED so phones learn their VLAN automatically.
How to Configure a Voice VLAN and QoS for IP Phones | Navijin Tutorials