Specifications
20-12 policy Commands
Usage
Ifthespecifiedrulepositionalreadycontainsafilterrule,theconfigcommandoverwritesthe
existingrule.Usethecreatecommandtoinsertorappendaruleatthespecifiedposition.
Ifadvancedfiltermodehasbeenenabledwiththeenable‐advance‐filteringcommand(page20‐3),
theAdvancedmodesyntax
ispresented.Ifadvancedfiltermodeisnotenabled,theBasicmode
syntaxispresented.
Examples
Thefollowingexampleoverwritesapre‐existingfilterrule1witharulethatallowsICMPtraffic
types9through31inbothdirectionsfortheassociatedtopology’sinterfacesubnetandmask:
EWC.enterasys.com:policy:p1:acfilters# config 1 proto icmp interface-subnet type
9 31 in dst out src allow
EWC.enterasys.com:policy:p1:acfilters# apply
EWC.enterasys.com:policy:p1:acfilters# show
Enable AP filtering: disable
filter 1 proto icmp interface-subnet type 9 31 in dst out src allow
filter 2 proto udp 192.168.10.0 255.255.255.0 port 10 2000 in dst out src allow
filter 3 (default) proto none 0.0.0.0 all_ports in dst out none allow
filter 4 (default) proto none 0.0.0.0 all_ports in none out src allow
type<type>[<type>] SpecifiesanICMPtypeorrangeofICMPtypes.Thisparameterisonly
validwhenICMPisthespecifiedprotocol.Validvaluesarefrom0‐
255.
Basic:in(none|dst)
Advanced:
in(none|src|dst|both)
Specifiesthedirectionofpacketflow.—inspecifiesapacketflowfrom
theAPtotheAC.
nonespecifiesthattheindirectiondoesnotapplytothefilterrule.
dstspecifiesthattheIPaddressforthisfilterruleisthedestinationof
thepacketflow.
srcspecifiesthattheIPaddressforthisfilterruleisthe sourceofthe
packetflow.
bothspecifiesthatthe
IPaddressforthisfilterrulecanbeeithersource
ordestination.
Basic:out(none|src)
Advanced:
out(none|src|dst|both)
Specifiesthedirectionofpacketflow.—outspecifiesapacketflow
fromtheACtotheAP.
nonespecifiesthattheoutdirectiondoesnotapplytothefilterrule.
dstspecifiesthatthe
IPaddressforthisfilterruleisthedestinationof
thepacketflow.
srcspecifiesthattheIPaddressforthisfilterruleisthe sourceofthe
packetflow.
bothspecifiesthattheIPaddressforthisfilterrulecanbeeithersource
ordestination.
allow|deny Specifieswhether
packetswillbeallowedordeniedwhenmeetingthe
criteriaspecifiedinthefilterrule.