Downloadable ACLs (dACLs)
Synopsis
netapi ise get-dacls
netapi ise get-dacl <NAME>
netapi ise create-dacl <NAME> [OPTIONS]
netapi ise delete-dacl <NAME> [OPTIONS]
netapi ise create-dacls-from-file <FILE>
Description
Manage ISE Downloadable ACLs (dACLs). These are pushed to network devices during authorization.
|
On switches, dACLs appear as |
Commands
get-dacls
List all downloadable ACLs.
netapi ise get-dacls
netapi ise get-dacls --size 50 --page 2
--size, -s INTEGER Results per page (default: 100)
--page, -p INTEGER Page number (default: 1)
get-dacl
Get specific dACL rules.
netapi ise get-dacl DACL_SECURE_FULL
netapi ise get-dacl DACL_IOT_RESTRICTED
create-dacl
Create a new downloadable ACL.
# Simple inline ACL
netapi ise create-dacl DACL_PERMIT_ALL --acl "permit ip any any"
# Multi-line ACL (semicolon-separated)
netapi ise create-dacl DACL_IOT --acl "permit udp any any eq 53; deny ip any 10.0.0.0 0.255.255.255; permit ip any any"
# From file
netapi ise create-dacl DACL_SECURE --file /path/to/dacl.txt
# With description
netapi ise create-dacl DACL_GUEST --acl "deny ip any 10.0.0.0 0.255.255.255; permit ip any any" --descr "Guest internet only"
# IPv6 DACL
netapi ise create-dacl DACL_IPV6_PERMIT --acl "permit ipv6 any any" --type IPV6
| Option | Description |
|---|---|
|
ACL content (single line or semicolon-separated) |
|
File containing ACL content (one rule per line) |
|
Description |
|
IP type: |
delete-dacl
Delete a downloadable ACL.
# With confirmation prompt
netapi ise delete-dacl DACL_TEST
# Skip confirmation
netapi ise delete-dacl DACL_TEST --force
create-dacls-from-file
Create multiple DACLs from a YAML file.
netapi ise create-dacls-from-file dacls.yaml
netapi ise create-dacls-from-file dacls.yaml --skip-existing
YAML format:
dacls:
DACL_ADMIN_FULL:
description: "Full admin access"
acl: |
permit ip any any
DACL_IOT_RESTRICTED:
description: "IoT devices - internet only"
acl: |
permit udp any any eq 53
deny ip any 10.0.0.0 0.255.255.255
permit ip any any
DACL_GUEST_INTERNET:
description: "Guest - no internal access"
acl: |
deny ip any 10.0.0.0 0.255.255.255
deny ip any 172.16.0.0 0.15.255.255
deny ip any 192.168.0.0 0.0.255.255
permit ip any any
dACL Mapping Reference
When viewing ACLs on switch vs ISE:
| Switch Shows | ISE dACL Name |
|---|---|
|
|
|
|
|
|