beautypg.com

Allied Telesis AT-S62 User Manual

Page 291

background image

AT-S62 Management Software Command Line Interface User’s Guide

Section II: Advanced Operations

291

This example creates two policies that ensure low latency for all traffic sent
by and destined to a voice application located on a node with the IP
address 149.44.44.44. The policies raise the priority level of the packets to
7, the highest level. Policy 6 is for traffic from the application that enter the
switch on port 1. Policy 11 is for traffic arriving on port 8 going to the
application.

Policy 6 Commands:

create classifier=22 description=”VoIP flow”
ipsadddr=149.44.44.44

create qos flowgroup=14 description=”VoIP flow”
priority=7 classifierlist=22

create qos trafficclass=18 description=”VoIP flow”
flowgrouplist=14

create qos policy=6 description=”VoIP flow”
trafficclasslist=18 ingressport=1

Policy 11 Commands:

create classifier=23 description=”VoIP flow”
ipdadddr=149.44.44.44

create qos flowgroup=17 description=”VoIP flow”
priority=7 classifierlist=23

create qos trafficclass=15 description=”VoIP flow”
flowgrouplist=17

create qos policy=11 description=”VoIP flow”
trafficclasslist=15 ingressport=8

The parts of the policies are:

ˆ

Classifiers - Define the traffic flow by specifying the IP address of the
node with the voice application. The classifier for Policy 6 specifies the
address as a source address since this classifier is part of a policy
concerning packets coming from the application. The classifier for
Policy 11 specifies the address as a destination address since this
classifier is part of a policy concerning packets going to the application.

ˆ

Flow Groups - Specify the new priority level of 7 for the packets. It
should be noted that in this example the packets leave the switch with
the same priority level they had when they entered. The new priority
level is relevant only as the packets traverse the switch. To alter the
packets so that they leave containing the new level, you would use the
REMARKPRIORITY option in the CREATE QOS FLOWGROUP
command.