Lantronix S3220 Series User Guide Rev J PDF 34.75 MB - Page 183
ACL Config - CLI Method
![]() |
View all Lantronix S3220 Series manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 183 highlights
Transition Networks ION x222x / x32xx User Guide ACL Config - CLI Method For a complete list of all CLI commands for ACL operations see the ION System CLI Reference Manual, 33473. 1. Access the NID through either a USB connection (see "Starting a USB Session" on page 41) or a Telnet session (see "Starting a Telnet Session" on page 43). 2. Enable ACL. Type: set acl state=enable and press Enter. 3. Define the default chain policy. Note: the factory defaults are set to table=filter and chain=input and cannot be changed. Type: set acl table=filter chain=input policy= where: xx = default policy if a policy is not determined by the end of the table; valid choices are: • accept (allows communication) • drop (disallows communication) 4. Press Enter. 5. Define a condition that will be associated with a rule. Type: add acl condition type= srcdst= oper= value= where: ww = what the condition applies to; valid choices are: • macaddr • ipv4network • udpport • ipv4addr • ipv4addrrange • udpportrange • tcpport • tcpportrange • icmp xx = restriction stream; valid choices are: • src (the condition applies to the source address) • dst (the condition applies to the destination address) yy = operation type; valid choices are: • equal (the condition applies if the packet equals the condition type) • notequal (the condition applies if the packet does not equal the condition type) zz = address, port number or type associated with the value specified for type= Note: if a range is specified for type=, then the two values for num must be separated by a hyphen (i.e., 1-4). 6. Press Enter. 33472 Rev. J https://www.transition.com Page 183 of 700
![](/manual_guide/products/lantronix-s3220-series-user-guide-rev-j-pdf-3475-mb-2c29388/183.png)