We help IT Professionals succeed at work.

QoS on cisco 2821 router

I have a cisco 2821 router.  I need to configure QoS on an IP address to have gauranteed bandwidth, let's say 5 Mbit/s compared to the rest of the network (other IPs).
I have a device that is live streaming 24/7 and my firewall is sometimes slowing down the traffic.

How would I configure QoS to allow a certain IP to have dedicated bandwith and now allow the rest of the network to suck up the bandwidth?  I have a 100 Mbit/s internet pipe.
Comment
Watch Question

Commented:
Are you looking to control bandwidth over the 100Mbps pipe or on the internal network?

You can set QoS on the outbound traffic but it will not do anything once it leaves the router.
DanNetwork Engineer

Author

Commented:
Well, I wanted to control the bandwidth of the router itself.   I know that as soon as it leaves the outbound port of the router, it's at the mercy of the internet.   I wanted to bypass my internal network.

I guess even with a 100Mbps pipe, that's only as good as it goes to the next hop of my ISP, then there's no control of the data.

At least bypassing my internal network might help?

Commented:
So you want to set aside bandwidth or load percentage on the LAN interface for the streaming?  How many. Switches are involved?
DanNetwork Engineer

Author

Commented:
yes, on the router, on the LAN port, that plugs into a 5 port PnP switch and then from there the connection goes into my firewall and then my LAN.

So what I want to do is plug in the live streaming device into the 5 port PnP switch, which will have an external IP address and then I just want to carve out priority for it, even though it only needs 5 Mbit/s, I want to make sure it has that bandwidth at all times.

Does that make sense?

Commented:
We can do QoS on the router, but your bottleneck might be the switch.

What you are saying makes sense.
DanNetwork Engineer

Author

Commented:
It's a gig switch and since our pipe is only 100 Mbit/s, are you saying the switch can't handle it since it's a PnP switch?

Should I get a cisco 3650G 24 port or something?
Commented:
The switch should be fine.

Try something like this:

access-list 100 permit ip host <streaming ip> any

class-map streaming
match access-group  100

policy-map streamingPolicy
priority 5120

interface Fastethernet4 (whatever your WAN interface is)
bandwidth 1024000
service-policy output streamingPolicy
DanNetwork Engineer

Author

Commented:
Looking here: http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c/qcfpq.html

Will this work?

Step 1  
 
Router(config)# priority-list list-number protocol protocol-name {high | medium | normal | low} queue-keyword keyword-value
 
Establishes queueing priorities based on the protocol type.
 

Step 2  
 
Router(config)# priority-list list-number interface interface-type interface-number {high | medium | normal | low}
 
Establishes queueing priorities for packets entering from a given interface.
 

Step 3  
 
Router(config)# priority-list list-number default {high | medium | normal | low}
 
Assigns a priority queue for those packets that do not match any other rule in the priority list.
 


access-list 10 permit 239.1.1.0 0.0.0.255
priority-list 1 protocol ip high list 10

Commented:
QoS is an art form :)  

There are probably quite a few different ways you can accomplish your end goal.  From what I can see what you have posted should also work.
DanNetwork Engineer

Author

Commented:
Thanks for your help.