The goal of this Differentiated Services policy is to map a subset of the traffic outbound from an FTP server.
This policy is identified as a Differentiated Services policy by the PolicyScope DataTraffic attribute on the PolicyAction statement, as well as the use of several DS-only attributes.
PolicyRule diffServ
{
ProtocolNumberRange 6
SourceAddressRange 200.50.23.11
SourcePortRange 20-21
PolicyActionReference tokenbucket
PolicyRulePriority 10
ConditionTimeRange 20000701000000:20050630235959
DayOfMonthMask 1111111111111111111111111111111
DayOfWeekMask 0111110
TimeOfDayRange 06:00-22:00
}
PolicyAction tokenbucket
{
PolicyScope DataTraffic
OutgoingTOS 10000000
DiffServInProfileRate 256 # 256 Kbps
DiffServInProfileTokenBucket 512 # 512 Kbits
DiffServInProfilePeakRate 512 # 512 Kbps
DiffServInProfileMaxPacketSize 120 # 120 Kbits
DiffServOutProfileTransmittedTOSByte 00000000
DiffServExcessTrafficTreatment BestEffort
}
The goal of this policy is to ensure that outgoing data that match the specified attributes will be assigned a QoS service level defined in action "interactive1".
PolicyRule web-catalog # web catalog traffic
{
protocolNumberRange 6
SourcePortRange 80
ApplicationData /catalog
policyActionReference interactive1
}
PolicyAction interactive1
{
policyScope DataTraffic
outgoingTOS 10000000
}