Policy Sets
Overview
Policy sets define authentication and authorization behavior for network access. Commands for viewing and modifying ISE policies.
| These commands use the ISE OpenAPI (not ERS API) for policy set management. |
Commands
| Command | Description |
|---|---|
|
List all policy sets |
|
Get specific policy set details |
|
List authentication rules |
|
List authorization rules |
|
Add authentication rule |
|
Delete authentication rule |
|
Add authorization rule |
|
Delete authorization rule |
|
Full audit of all policies |
List Policy Sets
netapi ise get-policy-sets
netapi ise get-policy-sets --size 50 --page 2
--size, -s INTEGER Results per page (default: 100)
--page, -p INTEGER Page number (default: 1)
Get Policy Set Details
# By name
netapi ise get-policy-set "Corp WIFI"
# By UUID
netapi ise get-policy-set 9557d91c-591b-4d8d-9898-657a62f28d76
Add Authorization Rule
# Dry run first (recommended)
netapi ise add-authz-rule "Corp WIFI" "EAP_TLS_Trusted" "Domus_Secure_Profile" --dry-run
# Add EAP-TLS authorization rule
netapi ise add-authz-rule "Corp WIFI" "EAP_TLS_Trusted" "Domus_Secure_Profile"
# Add rule with custom condition
netapi ise add-authz-rule "Corp WIFI" "AD_Users" "PermitAccess" \
--dict "AD" --attr "ExternalGroups" --value "domain.com/Users" --operator contains
# Add at specific position
netapi ise add-authz-rule "Corp WIFI" "New_Rule" "Profile" --rank 0 # Top
netapi ise add-authz-rule "Corp WIFI" "New_Rule" "Profile" --rank 5 # Position 5
Add Authentication Rule
# Add EAP-TLS authentication rule
netapi ise add-auth-rule "Corp WIFI" "Cert_Auth" "AD_Cert_Profile" --dry-run
netapi ise add-auth-rule "Corp WIFI" "Cert_Auth" "AD_Cert_Profile"
Manage Policy Set Conditions
Add Condition (Safe)
Safely add a new condition to a policy set using OR logic. Preserves existing conditions.
# Add Domus-Secure SSID to Corp WIFI (keeps existing HomeRF)
netapi ise add-policy-set-condition "Corp WIFI" "Domus-Secure"
# Add another SSID
netapi ise add-policy-set-condition "Corp WIFI" "CorpNet-5G"
# Use different attribute/operator
netapi ise add-policy-set-condition "IoT WIFI" "IoT_" --operator startsWith
# Custom RADIUS attribute
netapi ise add-policy-set-condition "Guest WIFI" "guest" --attribute NAS-Port-Id
Full Policy Audit
# Display audit to terminal
netapi ise audit
# Save to file
netapi ise audit --output ise-policy-audit.txt
The audit command loops through ALL policy sets and displays:
-
Policy set name and conditions
-
Authentication rules with identity sources
-
Authorization rules with profiles
Use Cases
Related Commands
-
auth-rules - Authentication rule management
-
authz-rules - Authorization rule management
-
authz-profiles - Authorization profiles
-
conditions - Policy conditions