config firewall acl
This command is available for reference model(s) FortiGate 140E-POE, FortiGate 601E, FortiGate 2201E. It is not available for FortiWiFi 61F, FortiGate VM64. |
Configure IPv4 access control list.
config firewall acl
Description: Configure IPv4 access control list.
edit <policyid>
set status [enable|disable]
set name {string}
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 |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
status |
Enable/disable access control list status. |
option |
- |
enable |
||||||
|
|
|||||||||
name |
Policy name. |
string |
Maximum length: 35 |
|
||||||
comments |
Comment. |
var-string |
Maximum length: 1023 |
|
||||||
interface |
Interface name. |
string |
Maximum length: 35 |
|
||||||
srcaddr |
Source address name. Address name. |
string |
Maximum length: 79 |
|
||||||
dstaddr |
Destination address name. Address name. |
string |
Maximum length: 79 |
|
||||||
service |
Service name. Service name. |
string |
Maximum length: 79 |
|