P-660HW-Tx v3 Series Support Notes
81
All contents copyright © 2008 ZyXEL Communications Corporation.
lan filter <incoming|outgoing> <tcpip|generic> <set1#> <set2#> <set3#>
<set4#>
Usage: You can apply at most four filter sets to LAN Interface.
lan save
(3) If you are very advanced user, you could edit filter set by the following
command:
sys filter set [set#] [rule#]
Usage: Set up a filter set index to edit a set.
set#: 1~12
rule#: 1~6
sys filter set type [typeID]
Usage: typeID:
tcpip
or
generic.
Note: In one filter set, you should configure all the rules in one type: either
tcpip
or
generic.
sys filter set enable
Usage: Enable(active) the rule.
sys filter set
……
(You could configure a filter rule on demand, the newest
command is available on release note)
sys filter set save
Usage:
Don‟t forget to save the rule everytime you‟ve configured it.
Reference Commands:
sys filter set index [set#] [rule#]
Set the index of filter set rule, you must apply this
command first before you begin to configure the
filter rules
sys filter set name [set name]
Set the name of filter set
sys filter set type [tcpip | generic]
Set the type of filter rule
sys filter set enable
Enable the rule
sys filter set disable
Disable the rule
sys filter set protocol [protocol #]
Set the protocol ID of the rule
sys filter set sourceroute [yes|no]
Set the sourceroute yes/no
sys filter set destip [address] [subnet
mask]
Set the destination IP address and subnet mask of
the rule
sys filter set destport [port#] [compare
type = none|equal|notequal|less|greater]
Set the destination port and compare type (compare
type could be 0(none)|1(equal)|2(not
equal)|3(less)|4(greater) )
sys filter set srcip [address] [subnet
mask]
Set the source IP address and subnet mask
sys filter set srcport [port#] [compare
Set the source port and compare type (compare