Specifications
Enterasys Wireless Controller Software CLI Reference Guide 18-19
18.4.9.2 config
UsetheconfigcommandtomodifyanexistingAPfilterruleforthedefault‐policy.Theconfig
commandisaccessiblefromthevnsmode:default‐policy:apfilterscontext.
Ifadvancedfiltermodehasbeenenabledwiththeenable‐advance‐filteringcommand(page20‐3),
theAdvancedmodesyntaxispresented.Ifadvancedfiltermode
isnotenabled,theBasicmode
syntaxispresented.
Syntax
Basic mode syntax:
config <pos> proto <protocol> (<ipaddress/mask> | interface-subnet | interface-ip)
[(port <port> [<port>]) | (type <type> [<type>])] in (none|dst) out (none|src)
(allow|deny)
Advanced mode syntax:
config <pos> proto <protocol> (<ipaddress/mask> | interface-subnet | interface-ip)
[(port <port> [<port>]) | (type <type> [<type>])] in (none|src|dst|both) out
(none|src|dst|both) (allow|deny)
Parameters
<pos> Specifiesapositionvalueforthisfilterinthefilterlist.Validvaluesare
from0‐255.
proto<protocol> Specifiestheprotocolforthisfilterrulebynumberorname.Valid
numbervaluesarefrom0‐255.Validnamevaluesare:
• udp - UDP protocol
• tcp - TCP protocol
• ah - Authentication Header protocol
• esp - Encapsulating Security Payload protocol
• all - All protocols
• icmp - ICMP protocol
• gre - Generic Route Encapsulation protocol
<ipaddress/mask> SpecifiesanIPaddressandmaskforthisfilter.
interface‐subnet SpecifiestheIPaddressandmaskconfiguredfortheassociated
topology.
interface‐ip SpecifiestheIPaddressoftheassociatedtopology
port<port>
[<port>]
SpecifiesaTCPorUDPportorportrangetowhichthisfi lterrulewill
beapplied.Thefirstvalue
specifieseithertheportorthestartofaport
range.Thesecondvalueoptionallyspecifiestheendofarange.This
parameterisonlyvalidwheneitherTCPorUDPisthespecified
protocol.Validportvaluesarefrom0‐65535.
type<type>[<type>] SpecifiesanICMPtypeorrangeof
ICMPtypes.Thisparameterisonly
validwhenICMPisthespecifiedprotocol.Validvaluesarefrom0‐
255.