How do I assign a certain bandwidth for a certain traffic?

the scenario as attached I have Bandwidth of 30 MB between the two sites.
how can I assign bandwidth of 2MB between LAN A-1 & LAN B-1. and 28MB between LAN A-2 & LAN B-2



Assign-BW.jpg
paintcoAsked:
Who is Participating?
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.

asavenerCommented:
Depends on your hardware.  QoS configurations are hardware specific, so we need to know what models of routers you are using.
0
paintcoAuthor Commented:
3800 and 2800
0
asavenerCommented:
OK, here are the basic steps:

1.  Create access list(s) that match the traffic you want to police
2.  Create class map(s)
3.  Create a policy map
4.  Apply the policy map to the interface

ip access-list extended Match_LanA1-LANB1
permit 10.10.10.0 0.0.0.255 30.30.30.0 0.0.0.255

ip access-list extended Match_LANA2-LANB2
permit 20.20.20.0 0.0.0.255 40.40.40.0 0.0.0.255

class-map match-any LANA1-LANB1
match access-group Match_LanA1-LANB1

class-map match-any LANA2-LANB2
match access-group Match_LanA2-LANB2

policy-map Police_Traffic
class LANA1-LANB1
police cir 2000000 bc 3125000 be 3125000
  conform-action set-prec-transmit 3
  exceed-action drop
 class LANA2-LANB2
police cir 38000000 bc 3125000 be 3125000
  conform-action set-prec-transmit 3
  exceed-action drop
 
 
 
interface <outside-interface-name>
service-policy output Police_Traffic



Then repeat on the other router, but with the direction of traffic in the access lists reversed.
0

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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

paintcoAuthor Commented:
Is there a required IOS to configure this steps
0
paintcoAuthor Commented:
suppose I have in A more networks which going to other sites (RTR-C, RTR-D, RTR-E). I want only to assign bandwidth between a certain network in site A (LANA-1) and site B (LANB-1) to use only 2MB and the rest of bandwidth to be shared for other remaining networks
0
asavenerCommented:
Policing limits the traffic to the assigned bandwidth.  The rest of the bandwidth is available for all other traffic.

If the policed traffic hasn't hit its limit, then its bandwidth is available for use as well.
0
paintcoAuthor Commented:
please can you explain what does these lines means

police cir 2000000 bc 3125000 be 3125000
 conform-action set-prec-transmit 3
 exceed-action drop
0
paintcoAuthor Commented:
Also can I namage the bandwidth from the Juniper
0
asavenerCommented:
That should all be one line.

The bc and be values need to be modified; I copied the line from another configuration where the bandwidth was actually 100,000,000 kbps.

Reduce them to 62500.

The lines mean:  Set the committed information rate (CIR) to 2 Mbps, if the traffic is under 2Mbps (conform action) then transmit, if the traffic is over 2Mbps then drop the packet.



I'm not familiar enough with the Juniper appliance to tell you one way or the other.
0
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
Routers

From novice to tech pro — start learning today.