Firewall ConfigureQuality of Serviceoptions
IX20 User Guide
970
vi. Set the sourceport to define a source traffic matching criteria:
(config firewall qos 2 policy 0 rule 0)> srcport value
(config firewall qos 2 policy 0 rule 0)>
where value is the IPport number, a range of port numbersusing the format IP_port-
IP_port, or any.
vii. Set the destination port to define a destination matching criteria:
(config firewall qos 2 policy 0 rule 0)> dstport value
(config firewall qos 2 policy 0 rule 0)>
where value is the IPport number, a range of port numbersusing the format IP_port-
IP_port, or any.
viii. Set the sourceaddresstype:
(config network qos 2 policy 0 rule 0)> src type value
(config network qos 2 policy 0 rule 0)>
where value is one of:
n
any: Source traffic from any address will be matched.
See Firewall configuration for more information about firewall zones.
n
interface: Only traffic from the selected interface will be matched. Set the
interface:
i. Use the ?to determine available interfaces:
(config network qos 2 policy 0 rule 0)> src interface ?
Interface: Match the IP address with the specified
interface's network address.
Format:
/network/interface/defaultip
/network/interface/defaultlinklocal
/network/interface/eth1
/network/interface/eth2
/network/interface/loopback
Current value:
(config network qos 2 policy 0 rule 0)> src interface
ii. Set the interface. For example:
(config network qos 2 policy 0 rule 0)> src interface
/network/interface/eth1
(config network qos 2 policy 0 rule 0)>
n
address: Only traffic from the IPaddresstyped in IPv4 addresswill be
matched. Set the address that will be matched: