beautypg.com

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

Page 21

background image

Page 21 | 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

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"

The QoS classifiers are used to ensure that only traffic from DHCP allocated addresses is
forwarded, while also allowing QoS prioritisation or traffic shaping.

The above example classifies FTP and telnet. Classifier 54 is an open classifier, responsible for
discarding any traffic without an allocated source address.

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

Create a set of QoS classifiers (include the DHCP snooping placeholders):

X

Define the upstream QoS flowgroups:

X

Create traffic classes for all upstream flow groups: