Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure IPv4 access control list.

  config firewall acl
      Description: Configure IPv4 access control list.
      edit <policyid>
          set status [enable|disable]
          set comments {var-string}
          set interface {string}
          set srcaddr <name1>, <name2>, ...
          set dstaddr <name1>, <name2>, ...
          set service <name1>, <name2>, ...
      next
  end

config firewall acl

Parameter Name Description Type Size
status Enable/disable access control list status.
enable: Enable access control list status.
disable: Disable access control list status.
option -
comments Comment. var-string Maximum length: 1023
interface Interface name. string Maximum length: 35
srcaddr <name> Source address name.
Address name.
string Maximum length: 79
dstaddr <name> Destination address name.
Address name.
string Maximum length: 79
service <name> Service name.
Address name.
string Maximum length: 79

Configure IPv4 access control list.

  config firewall acl
      Description: Configure IPv4 access control list.
      edit <policyid>
          set status [enable|disable]
          set comments {var-string}
          set interface {string}
          set srcaddr <name1>, <name2>, ...
          set dstaddr <name1>, <name2>, ...
          set service <name1>, <name2>, ...
      next
  end

config firewall acl

Parameter Name Description Type Size
status Enable/disable access control list status.
enable: Enable access control list status.
disable: Disable access control list status.
option -
comments Comment. var-string Maximum length: 1023
interface Interface name. string Maximum length: 35
srcaddr <name> Source address name.
Address name.
string Maximum length: 79
dstaddr <name> Destination address name.
Address name.
string Maximum length: 79
service <name> Service name.
Address name.
string Maximum length: 79