05-13-2009 12:27 AM - edited 03-04-2019 04:44 AM
Hi,
I'm trying to use CBWQ to share a career link beetween two agencies.
I'm using classe based weight queue to do that.
I have one interface by agency and one wan interface (fastethernet connected to a 2mbit/s link where the policy is applied).
The problem is not in the bandwidth sharing (I have two class with a match input interface and a policy that provide a bandwith percent for each class) but about the wan interface. How can i tell the qos mecanism that my total bandwidth is not 100mbit/s (fastethernet) but 2mbit/s ?
I've tried with the keyword bandwith in the interface config mode but it does not limit the trafic...
Thank you for your help
Solved! Go to Solution.
05-13-2009 02:12 AM
np - glad to help.
05-13-2009 12:54 AM
You need to look at Traffic Shaping, see the below link:-
http://www.cisco.com/en/US/docs/internetworking/technology/handbook/QoS.html
05-13-2009 01:22 AM
I've already read that.
My config :
class one
match input interface f0/1
class two
match input interface f0/0/0
policy-map bandwith-share
class one bandwith 50 percent
class two bandwith 50 percent
int f0/0
service policy output bandwdwith-share
How can I configure my router to tell the qos that there is only 2mbit/s to share and not 100mbit/s ?
05-13-2009 01:43 AM
That is not traffic shaping, you are just allocating 50% of the available interface bandwith, you need to shape the traffic, ie define how much bandwidth can be sent over a time period, or you can police the traffic witch defines how much bandwidth can be used in bits.
05-13-2009 01:44 AM
read the below link and use the config examples to build your requirements:-
HTH>
05-13-2009 01:59 AM
I would configure something like:-
ip access-list standard customer1
permit 172.16.1.0 0.0.0.255
ip access-list standard customer2
permit 172.16.31.0 0.0.0.255
class-map match-all cust-1
match access-group name customer1
class-map match-all cust-2
match access-group name customer2
policy-map customers
class cust-1
bandwidth percent 50
class cust-2
bandwidth percent 50
policy-map shape-customers
class class-default
shape average 4194304
service-policy customers
HTH>
05-13-2009 02:06 AM
Ok thank you very much !
05-13-2009 02:12 AM
np - glad to help.
05-13-2009 01:59 AM
Ok so the above config will do the job ?
class one
match input interface f0/1
class two
match input interface f0/0/0
policy-map bandwith-share
class one bandwith 50 percent
class two bandwith 50 percent
policy-map parent
class class-default
police 2048000 103000 103000 conform-action transmit exceed-action drop
service-policy bandwidth-share
int f0/0
service policy output bandwdwith-share
Thank you very much !
05-13-2009 03:05 AM
No, you want:
(edit2 NB: syntax might be incorrect)
class one
match input interface f0/1
class two
match input interface f0/0/0
policy-map bandwith-share
class one
!syntax might be bandwith percent remaining 50
bandwith remaining percent 50
class two
bandwith remaining percent 50
policy-map parent
class class-default
shape avg 2048000
service-policy bandwidth-share
int f0/0
service policy output parent
[edit]
BTW, on many platforms/IOSs, the shaper alone will do (W)FQ. I.e. you might find traffic behavior is better without the child policy.
[edit2]
i.e.
either
policy-map apolicy
class class-default
shape avg 2048000
int f0/0
service policy output apolicy
or
int fa0/0
traffic-shape avg 2048000
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: