Adaptive Network Control (ANC)

Overview

ANC (Adaptive Network Control) allows real-time network enforcement actions:

  • Quarantine - Isolate compromised endpoints

  • Port Bounce - Force re-authentication

  • Shutdown - Disable port completely

Commands

Command Description

get-anc-policies

List available ANC policies

get-anc-endpoints

List endpoints with ANC applied

anc-apply

Apply ANC policy to endpoint

anc-clear

Remove ANC policy from endpoint

List ANC Policies

netapi ise get-anc-policies
netapi ise get-anc-policies --size 50 --page 2
Options
--size, -s INTEGER    Results per page (default: 100)
--page, -p INTEGER    Page number (default: 1)

List Endpoints with ANC

netapi ise get-anc-endpoints
netapi ise get-anc-endpoints --size 50 --page 2
Options
--size, -s INTEGER    Results per page (default: 100)
--page, -p INTEGER    Page number (default: 1)

Apply ANC Policy

# Quarantine an endpoint
netapi ise anc-apply C8:5B:76:C6:59:62 Quarantine

# Shut down port
netapi ise anc-apply 00:11:22:33:44:55 Shut_Down

# Port bounce (force reauth)
netapi ise anc-apply AA:BB:CC:DD:EE:FF Port_Bounce

Clear ANC Policy

# Remove quarantine
netapi ise anc-clear C8:5B:76:C6:59:62

# Clear any ANC from endpoint
netapi ise anc-clear 00:11:22:33:44:55

Use Cases

Incident Response Quarantine

#!/bin/bash
# Quarantine compromised endpoint
MAC="$1"
TICKET="$2"

echo "Quarantining $MAC for incident $TICKET"
netapi ise anc-apply "$MAC" Quarantine

# Log the action
echo "$(date) - Quarantined $MAC - Ticket: $TICKET" >> /var/log/ir-actions.log

Bulk Quarantine from IOC List

#!/bin/bash
# Quarantine all MACs in IOC file
while read mac; do
  echo "Quarantining: $mac"
  netapi ise anc-apply "$mac" Quarantine
done < compromised_macs.txt

Release After Remediation

#!/bin/bash
# Release endpoint after remediation verified
MAC="$1"

echo "Releasing $MAC from quarantine"
netapi ise anc-clear "$MAC"

# Force re-authentication
netapi ise anc-apply "$MAC" Port_Bounce
sleep 5
netapi ise anc-clear "$MAC"

Common ANC Policies

Policy Action Use Case

Quarantine

Apply quarantine dACL

Incident response isolation

Port_Bounce

CoA port bounce

Force re-authentication

Shut_Down

Disable switch port

Critical threat containment