Download Print this page

Allied Telesis Switchblade AT-x900-12 Software Configuration Manual page 5

Alliedware plus os
Hide thumbs Also See for Switchblade AT-x900-12:

Advertisement

Example 1-4: Setting the maximum bandwidth limit for each IP subnet
This example is very similar to example 1-3, except that it is assumed that a whole subnet is
attached to each port, not just a single device on each port.
Users connected to the switch downloading files from the Internet
mls qos enable
access-list 3011 permit ip any 192.168.1.0/24
access-list 3012 permit ip any 192.168.1.0/24
access-list 3013 permit ip any 192.168.1.0/24
.
.
.
class-map cmap1
match access-group 3011
class-map cmap2
match access-group 3012
class-map cmap3
match access-group 3013
.
.
.
policy-map pmap1
class cmap1
police single-rate 256 3000 5000 exceed-action drop
class cmap2
police single-rate 256 3000 5000 exceed-action drop
class cmap3
police single-rate 256 3000 5000 exceed-action drop
.
.
.
interface port1.0.24
service-policy input pmap1
This set of commands will set the total egress limit (download traffic) for each subnet to 256kbps.
The granularity is around 1kbps.
Page 5 | AlliedWare Plus™ OS How To Note: QoS
(192.168.1.0/24 - 192.168.23.0/24)
Port 24
Internet
connection
1. Setting the egress rate

Advertisement

loading