0

Let's say a businessses purchases a sufficently fast internet connection (such as 60Mbps cable connection) and VOIP quality is pretty good for the most part. The only thing I would be worried about is a user initiating a file download and saturating the line. Would it be possible to restrict bandwidth on a per-port (logical port) basis. For example 5 Mbps is reserved for SIP traffic and the maximum a file could download at is 55Mbps. The setup would look like:

 FreePBX --------> Cisco Router -----> Internet (SIP provider is here)
 Users ----------> /\
network-tech
  • 101
  • 1
  • 3
  • 6

2 Answers2

1

Yep

Make an access-list and class to match the traffic you're interested in

ip access-list extended VOIP
 permit udp any any range 16345 65535

class-map VOIP
 match access-group name VOIP

Create a queuing structure for your important traffic and give it priority in times of congestion:

policy-map QUEUING
 class VOIP
  priority 5 mbps
 class class-default
  fair-queue

Finally, create a shaper to limit your upstream to match what you pay for (this will force the queuing to happen on your equipment instead of upstream in the provider where they'll drop whatever they want (including your voice);

policy-map SHAPER
 class class-default
  shape average 60 mbps
  service-policy QUEUING 

Finally apply the policy map outbound on your router interface that faces the internet

int gig 0/0
 service-policy output SHAPER
Massimo
  • 68,714
  • 56
  • 196
  • 319
Jason Seemann
  • 1,120
  • 6
  • 9
0

This Cisco documentation leads me to believe that yes it is possible.

http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfgts.html

That applies to ios12.2, I didn't see any mention of it being device specific.

inetplumber
  • 680
  • 4
  • 9