11-03-2023 03:18 PM
Hello all,
I have a 100mbps internet connection from the ISP and I would like to share this speed between 5 offices (allocate 20mbps to each office). I have a cisco router 2921 connected to the ISP, a cisco switch 3750 as backbone for the LAN, and Cisco switch 2960 as distribution switches for each office.
I have created 5 VLANs on the 3750 switch for each office.
How can I configure share the 100mbps between the 5 VLANs on the Cisco router 2921?
11-03-2023 03:53 PM
Do you truly wish to limit each office to 20 Mbps, or guarantee at least 20 Mbps to each office?
BTW, for traffic from the Internet, we can insure an office will be limited in the bandwidth it can obtain, but not guarantee it any bandwidth.
11-03-2023 06:00 PM
Router(config)# qos
Router(config)# class-map match-all VLAN1 Router(config-cmap)# match vlan 1 Router(config-cmap)# exit Router(config)# class-map match-all VLAN2 Router(config-cmap)# match vlan 2 Router(config-cmap)# exit
Repeat this process for each of the 5 VLANs.
Router(config)# policy-map VLAN-POLICY Router(config-pmap)# class VLAN1 Router(config-pmap-c)# bandwidth remaining percent 20 Router(config-pmap-c)# exit Router(config-pmap)# class VLAN2 Router(config-pmap-c)# bandwidth remaining percent 20 Router(config-pmap-c)# exit
Repeat this process for each VLAN, setting the bandwidth remaining percent to 20% for each.
Router(config)# interface GigabitEthernet0/0 // This is an example interface, replace with your WAN interface Router(config-if)# service-policy output VLAN-POLICY
Router# copy running-config startup-config
This configuration will ensure that each VLAN gets its allocated 20Mbps share of the 100Mbps internet connection. If one VLAN is not using its allocated bandwidth, other VLANs can utilize the unused capacity, up to their allocated 20Mbps. Be sure to adapt the interface names and VLAN numbers to match your specific network setup.
11-03-2023 08:51 PM
@saagar regarding your reply, IMO, "it needs work".
11-03-2023 11:17 PM
Thank you very much for the showing me the steps.
I will run this config and confirm.
Thank you.
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