Firewall
Configure Quality of Service options
LR54 User Guide
886
where
value
is the IP port number, a range of port numbers using the format
IP_port
-
IP_port
, or
any
.
viii. Set the source address type:
(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
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/lan1
/network/interface/lan_hotspot
/network/interface/loopback
/network/interface/wan1
/network/interface/wwan
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/wan1
(config network qos 2 policy 0 rule 0)>
n
address
: Only traffic from the IP address typed in
IPv4 address
will be
matched. Set the address that will be matched:
(config network qos 2 policy 0 rule 0)> src address
value
(config network qos 2 policy 0 rule 0)>
where value uses the format
IPv4_address
[
/
netmask
]
, or
any
to match any
IPv4 address.
n
address6
: Only traffic from the IP address typed in
IPv6 address
will be
matched. Set the address that will be matched:
(config network qos 2 policy 0 rule 0)> src address6
value
(config network qos 2 policy 0 rule 0)>