Cisco IOS - Minimal QOS Config
class-map match-any VOICE match ip dscp ef ! ! policy-map QOS class VOICE priority [[VoIP bandwidth in kbps]] class class-default bandwidth fair-queue ! interface [[Outbound Interface]] bandwidth [[Interface Bandwidth in kbps]] service-policy output QOS

Outbound Interface:
Interface Bandwidth in kbps:
VoIP bandwidth in kbps:

Use this code to post the full script to your own page:

Use this code to post only the variables to your own page: