Define the upstream qos flowgroups – Allied Telesis x900-48 series User Manual
Page 17

Page 17 | AlliedWare™ OS How To Note: DHCP snooping on AT-9900-style switches
Configuration examples > Configuring the switch for DHCP snooping, filtering, and Option 82, when it is
These will be used to ensure that only traffic from DHCP allocated addresses is permitted,
while also allowing QoS prioritisation or shaping of traffic if desired.
This example classifies FTP and telnet. Classifier 54 is an open classifier, responsible for
discarding any traffic without a source address (found in the DHCP snooping database):
create classifier=50 macsaddr=dhcpsnooping ipsaddr=dhcpsnooping tcpdport=20
create classifier=51 macsaddr=dhcpsnooping ipsaddr=dhcpsnooping tcpdport=21
create classifier=52 macsaddr=dhcpsnooping ipsaddr=dhcpsnooping tcpdport=23
create classifier=53 macsaddr=dhcpsnooping prot="ip" ipsaddr=dhcps
create classifier=54 prot="ip"
create qos flow=50 markvalue=10 premarking=usemarkvalue action=FORWARD
create qos flow=52 markvalue=11 premarking=usemarkvalue action=FORWARD
create qos flow=53 markvalue=12 premarking=usemarkvalue action=FORWARD
create qos flow=54 action=DISCARD
add qos flow=50 classifier=50
add qos flow=50 classifier=51
add qos flow=52 classifier=52
add qos flow=53 classifier=53
add qos flow=54 classifier=54
Mark values are used to reference into the DSCP mapping table, which is defined later.
create qos trafficclass=1
create qos trafficclass=2
create qos trafficclass=3
create qos trafficclass=4
add qos trafficclass=1 flow=50
add qos trafficclass=2 flow=52
add qos trafficclass=3 flow=53
add qos trafficclass=4 flow=54
X
C
reate a set of QoS Classifiers to capture all upstream traffic and include the
DHCP snooping placeholders.
X
Define the upstream QoS flowgroups:
X
Create traffic classes for all upstream flow groups: