config firewall acl
This command is available for reference model(s) FortiGate 140E-POE, FortiGate 501E, FortiGate 3000D. 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 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 |
|||||||
---|---|---|---|---|---|---|---|---|---|---|
status |
Enable/disable access control list status. |
option |
- |
|||||||
|
|
|||||||||
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. Address name. |
string |
Maximum length: 79 |