08-19-2019 03:20 AM
Hi,
I have a 100M Internet circuit connecting to a Cisco ISR4331 router. We are planning to upgrade the circuit to 400M, and have multiple businesses use this circuit.
Can I implement traffic shaping to limit certain businesses to use only 300M of bandwdith, and have the remaining 100M for the other businesses. If yes, how do I differentiate the source traffic between these businesses while implementing traffic shaping?
Thanks
Mikey
Solved! Go to Solution.
01-09-2020 06:43 AM
Hello,
the below should work:
ip access-list extended SOURCE_ACL
permit ip 10.1.0.0 0.0.0.255 any
permit ip 10.2.0.0 0.0.0.255 any
!
class-map match-any CLASS_1
match access-group name SOURCE_ACL
!
policy-map SHAPE_300
class CLASS_1
shape average 300000000
class class-default
fair-qeue
!
interface GigabitEthernet0/0
service-policy output SHAPE_300
08-19-2019 03:47 AM
Hello Mikey,
if the business units can be classified based on IP address subnet you can use access lists to create class-maps and then you can use hierarchical QoS with a parent shaper and child policies.
If this is not possible you need to use NBAR (match protocol) and classify traffic at application layer.
Hope to help
Giuseppe
08-19-2019 05:57 AM
Hi Giuseppe,
Thanks for your reply. Yes, the business units are classified into different subnets.
Could you please help me with any configuration examples, or guide me to any webpage for reference.
Thanks
Mikey
08-19-2019 09:20 AM
08-19-2019 09:33 AM
Hello Joseph,
very good point about possible performance issues with increased aggregated traffic.
>> Also BTW, you realize an ISR 4331, to support 400 Mbps, especially duplex, will need a boost license, and even then, it might not be able to constantly guarantee above 300 Mbps aggregate performance?
Best Regards
Giuseppe
01-09-2020 06:26 AM
Hi Giuseppe,
Sorry to revive an old thread. We are in the process of implementing this traffic shaping solution in the coming few days. We have gone ahead and upgraded the router to a ASR1001X series router to support the 400M Internet bandwidth.
Could you please give me a configuration example (or help guide me to a link) for defining traffic shaping for these two subnets to use only 300M out of 400M.
Source 1 - 10.1.0.0/24
Source 2 - 10.2.0.0/24
Thanks
Mikey
01-09-2020 06:43 AM
Hello,
the below should work:
ip access-list extended SOURCE_ACL
permit ip 10.1.0.0 0.0.0.255 any
permit ip 10.2.0.0 0.0.0.255 any
!
class-map match-any CLASS_1
match access-group name SOURCE_ACL
!
policy-map SHAPE_300
class CLASS_1
shape average 300000000
class class-default
fair-qeue
!
interface GigabitEthernet0/0
service-policy output SHAPE_300
01-09-2020 06:52 AM
Thanks George. This policy should be applied on the WAN interface towards the Internet?
Cheers
Mikey
01-09-2020 06:54 AM
Yes indeed, apply the service policy to the WAN interface...
01-09-2020 06:56 AM
Thanks. Appreciate your inputs.
Mikey
01-09-2020 10:21 AM
01-10-2020 12:37 AM
Hi Joseph,
Thanks for your inputs. So, from what I understand, Fair-queue generally is implemented on WAN interfaces(being low BW). And this helps in giving preference to lower BW traffic compare to higher BW traffic (file downloads etc)? Also, if we want to specify the BW for a particular class (subnets), Weighted fair queue is better?
Could you please help with a few more queries below.
1) Can I specify the 300M bandwidth to be used by the non-default class? Is a queue-limit also needed for this class?
class-map match-any CLASS_1
bandwidth 300000
match access-group name SOURCE_ACL
2) How do I implement parent shaper for 400Mbps?
3) Would all the remaining source subnets be part of default class, and be given 100M of BW to use?
As mentioned earlier, my main goal is to assign 300M BW for those two subnets, and 100M for the remaining ones. Also, I don't the Non-default class to eat up on the 100M BW assigned for default class.
Cheers
Mikey
01-10-2020 08:47 AM
02-20-2020 07:27 AM
Thanks Joseph. I have used the "bandwidth percent" command under the class to assign bandwidth to each of these classses. Please let me know if this looks ok?
ip access-list extended Labs
permit ip 10.x.x.x 0.0.1.255 any
permit ip 10.x.x.x 0.0.0.31 any
class-map match-any CLASS_1
match access-group name Labs
policy-map SHAPE_QOS_INTERNET
class class-default
shape average 400000
service-policy SHAPE_QOS_LABS
policy-map SHAPE_QOS_LABS
class CLASS_1
bandwidth percent 75 --> Assigns 300M to this class
class class-default
bandwidth percent 25 ---> Assigns 100M to this default class
interface GigabitEthernet0/0/0
service-policy output SHAPE_QOS_INTERNET
Thanks
Mikey
02-20-2020 08:26 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide