set qos-rule

Description

Configures an existing bandwidth/latency control rule within the QoS blade policy by idx.

Syntax

set qos-rule idx <idx> [ source <source> ] [ destination <destination> ] [ service <service> ] [ { [ low-latency-rule { normal [ limit-bandwidth <limit-bandwidth> [ limit-percentage <limit-percentage> ] ] [ guarantee-bandwidth <guarantee-bandwidth> [ guarantee-percentage <guarantee-percentage> ] ] | low } ] | [ limit-bandwidth <limit-bandwidth> [ limit-percentage <limit-percentage> ] ] [ guarantee-bandwidth <guarantee-bandwidth>[ guarantee-percentage <guarantee-percentage> ] ] } ] [ weight <weight> ] [ log <log> ] [ comment <comment> ] [ vpn <vpn> ] [ hours-range-enabled { true hours-range-from <hours-range-from> hours-range-to <hours-range-to> | false } ] [ diffserv-mark { true diffserv-mark-val <diffserv-mark-val> | false } ] [ name <name> ] [ { position <position> | position-above <position-above> | position-below <position-below> } ] [ disabled <disabled> ]

Parameters

Parameter

Description

comment

Description of the rule

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

destination

Network object that is the target of the connection

diffserv-mark

DiffServ Mark is a way to mark connections so a third party will handle it. To use this option, your ISP or private WAN must support DiffServ

Type: Boolean (true/false)

diffserv-mark-val

To mark packets that will be given priority on the public network according to their DSCP, select DiffServ Mark (1-63) and select a value. You can get the DSCP value from your ISP or private WAN administrator

Type: A number with no fractional part (integer)

disabled

Indicates if rule is disabled

Type: Boolean (true/false)

guarantee-bandwidth

If true, traffic guarantee is defined

Type: Boolean (true/false)

guarantee-percentage

Traffic guarantee percentage

Type: A number with no fractional part (integer)

hours-range-enabled

If true, time is configured

Type: Boolean (true/false)

hours-range-from

Time in the format HH:MM

Type: A time format hh:mm

hours-range-to

Time in the format HH:MM

Type: A time format hh:mm

idx

The order of the rule in comparison to other manual rules

Type: Decimal number

limit-bandwidth

If true, traffic limit is defined

Type: Boolean (true/false)

limit-percentage

Traffic limit percentage

Type: A number with no fractional part (integer)

log

Defines which logging method to use: None - do not log, Log - Create log

Options: none, log

low-latency-rule

The latency of the rule (low or normal)

Type: Press TAB to see available options

name

name

Type: A string of alphanumeric characters without space between them

position

The order of the rule in comparison to other manual rules

Type: Decimal number

position-above

The order of the rule in comparison to other manual rules

Type: Decimal number

position-below

The order of the rule in comparison to other manual rules

Type: Decimal number

service

The network service object that the rule should match to

source

Network object or user group that initiates the connection

vpn

Indicates if traffic is matched on encrypted traffic only or all traffic

Type: Boolean (true/false)

weight

Traffic weight, relative to the weights defined for other rules

Type: A number with no fractional part (integer)

Example

set qos-rule idx 3.141 source TEXT destination TEXT service TEXT low-latency-rule normal limit-bandwidth true limit-percentage 80 guarantee-bandwidth true guarantee-percentage 80 weight 15 log none comment "This is a comment." vpn true hours-range-enabled true hours-range-from 23:20 hours-range-to 23:20 diffserv-mark true diffserv-mark-val 5 name word position 2 disabled true