Quality of service
U
SER
G
UIDE
275
In order to filter on the type of protocol the command is:
set qos-ext class <name> filter match prot <value>
In order to filter on protocol and source port the command is:
set qos-ext class <name> filter match prot <value> src-port <value>
In order to filter on protocol and destination port the command is:
set qos-ext class <name> filter match prot <value> dst-port <value>
In order to filter according to the affiliation to another class, the mark associated with it is needed:
set qos-ext class <name> filter match mark <value>
In order to know which mark is associated with a class, the command is:
show qos-ext class mark
If conditions associated with the filters must be applied through a union of intersection (match x
and match y and match ...) it is necessary to assign a
filter group
by this way:
set qos-ext filter-group <name>
In order to remove the filter the command is:
set qos-ext no-filter-group <name>
It is possible to specify on which chain (pre-routing or post-routing) the traffic must be filtered:
set qos-ext filter-group <name> chain pre-routing|post-routing|output|forward
It is also necessary to specify the filter conditions.
In order to filter on a DSCP value the command is:
set qos-ext filter-group <name> match dscp <value>
In order to filter on a DSCP class value the command is:
set qos-ext filter-group <name> match dscp-class <value>
In order to filter on an IP-Precedence value the command is:
set qos-ext filter-group <name> match ipp <value>
In order to filter on an IP source address the command is:
set qos-ext filter-group <name> match src-ip <value>
In order to filter on an IP destination address the command is:
set qos-ext filter-group <name> match dst-ip <value>
In order to filter on a source interface the command is:
set qos-ext filter-group <name> match src-intf <value>
NB
: for this filter it is necessary to add the directive which specifies the pre-routing chain.
In order to filter on a destination interface the command is:
set qos-ext filter-group <name> match dst-intf <value>
In order to filter on the type of protocol the command is: