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.
DanNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Matt VCommented:
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 EngineerAuthor 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?
Matt VCommented:
So you want to set aside bandwidth or load percentage on the LAN interface for the streaming?  How many. Switches are involved?
Challenges in Government Cyber Security

Has cyber security been a challenge in your government organization? Are you looking to improve your government's network security? Learn more about how to improve your government organization's security by viewing our on-demand webinar!

DanNetwork EngineerAuthor 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?
Matt VCommented:
We can do QoS on the router, but your bottleneck might be the switch.

What you are saying makes sense.
DanNetwork EngineerAuthor 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?
Matt VCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DanNetwork EngineerAuthor 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
priority-list 1 protocol ip high list 10
Matt VCommented:
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 EngineerAuthor Commented:
Thanks for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.