Specifications
Enterasys Wireless Controller Software CLI Reference Guide 20-19
Usage
Ifthespecifiedrulepositionalreadycontainsa customfilter,specifyingaruleusingthiscommand
insertsaruleinthecurrentlyexistingrulespositionandmovesallotherrulesbyoneposition.Use
thecreatecommandtoinsertorappendaruleatthespecifiedposition.
Ifadvancedfiltermode
hasbeenenabledwiththeenable‐advance‐filteringcommand(page20‐3),
theAdvancedmodesyntaxispresented.Ifadvancedfiltermodeisnotenabled,theBasicmode
syntaxispresented.
Examples
Thefollowingexamplecreatesacustomfilter1thatallowsUDPtrafficinbothdirectionsfromIP
address10.10.10.0/24forports10 through2000:
EWC.enterasys.com:policy:p1:apfilters# create 1 proto udp 10.10.10.0/24 port 20
2000 in dst out src allow
EWC.enterasys.com:policy:p1:apfilters# apply
EWC.enterasys.com:policy:p1:apfilters# show
Custom AP Filters: enable
port<port>
[<port>]
SpecifiesaTCPorUDPportorportrangetowhichthiscustomfilter
willbeapplied.Thefirstvaluespecifieseithertheportorthestartofa
portrange.Thesecondvalueoptionallyspecifiestheendofarange.
Thisparameterisonlyvalidwheneither
TCPorUDPisthespecified
protocol.Validportvaluesarefrom0‐65535.
type<type>[<type>] SpecifiesanICMPtypeorrangeofICMPtypes.Thisparameterisonly
validwhenICMPisthespecifiedprotocol.Validvaluesarefrom0‐
255.
Basic:in(none|dst)
Advanced:
in(none|src|dst|both)
Specifiesthedirectionofpacket
flow.—inspecifiesapacketflowfrom
theAPtotheAC.
nonespecifiesthattheindirectiondoesnotapplytothefilterrule.
dstspecifiesthattheIPaddressforthisfilterruleisthedestinationof
thepacketflow.
srcspecifiesthattheIPaddressforthis
filterruleisthesourceofthe
packetflow.
bothspecifiesthattheIP addressforthisfilterrulecanbeeithersource
ordestination.
Basic:out(none|src)
Advanced:
out
(none|src|dst|both)
Specifiesthedirectionofpacketflow.—outspecifiesapacketflow
fromtheACtotheAP.
nonespecifiesthat
theoutdirectiondoesnotapplytothefilterrule.
dstspecifiesthatthe IPaddressforthisfilterruleisthedestinationof
thepacketflow.
srcspecifiesthattheIPaddressforthisfilterruleisthesourceofthe
packetflow.
bothspecifiesthattheIP addressfor
thisfilterrulecanbeeithersource
ordestination.
allow|deny Specifieswhetherpacketswillbeallowedordeniedwhenmeetingthe
criteriaspecifiedinthecustomfilter.