eos_acl_entry¶
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| acltype | yes |
The type of ACL to manage. Currently the only supported value for acltype is 'standard' (added in 1.1.0) |
||
| action | yes | (added in 1.1.0) | ||
| log | no |
Enables or disables the log keyword (added in 1.1.0) |
||
| name | yes |
The name of the ACL to manage. This name must correspond to the ACL name in the running-configuration of the node (added in 1.1.0) |
||
| seqno | yes |
The sequence number of the rule that this entry corresponds to. (added in 1.1.0) |
||
| srcaddr | yes |
The source address corresponding to this rule (added in 1.1.0) |
||
| srcprefixlen | yes |
The source address prefix mask length. Valid valids are in the range of 1 to 32 (added in 1.1.0) |
Important
Requires Arista EOS 4.13.7M or later with command API enabled
Important
Requires Python Client for eAPI 0.3.2 or later
Examples¶
- eos_acl_entry: seqno=10 name=foo action=permit srcaddr=0.0.0.0
srcprefixlen=32
- eos_acl_entry: seqno=20 name=foo action=deny srcaddr=172.16.10.0
srcprefixlen=16
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Supports stateful resource configuration.