Skip to main content
Staff & Editor
Jun 10, 2025 9:34 AM UTC

Technical Tip: How to send Downloadable ACLs (DACLs) to Cisco Switches using FortiNAC RADIUS with Cisco AV-Pairs Attributes

Description This article describes what needs to be configured in FortiNAC to send Downloadable ACLs (DACLs) to Cisco Switches using FortiNAC RADIUS Cisco AV-pair Attributes Group. By following these steps, FortiNAC will send DACLs to Cisco Switches using RADIUS Cisco AV-pairs, enforcing Network Access control based on the defined policies.
Scope FortiNAC-F v7.2x v7.4.x v7.6.x and above.
Solution
  1. Create a Custom RADIUS Attribute Group:
  • Navigate to Network -> RADIUS -> Attribute Groups in FortiNAC.
  • Add a new Attribute Group (e.g., 'Cisco-DACL').
  • Add multiple Cisco-AVPairattributes for each ACL entry:

Attribute Name: Cisco-AVPair
Response Value: ip:inacl#1=permit udp any any eq domain

 

Attribute Name: Cisco-AVPair

Response Value: ip:inacl#2=permit udp any any eq bootps

 

  • Ensure each ACL line is a separate Cisco-AVPair entry with incremental numbering (#1 ,#2, etc.).

Example:

FortiNAC RADIUS AVP for Cisco DACL.png

 

 

  1. Assign the Attribute Group to a Logical Network:

  • Go to Network -> Inventory, select the Cisco switch, and open Model Configuration.
  • Under Network Access, associate the Logical Network (e.g., 'Data-DACL') with the Access Value (VLAN ID) and the custom RADIUS Attribute Group ('Cisco-DACL').

 

  1. Configure the Cisco Switch:

  • First of all, confirm RADIUS communication between FortiNAC and the Cisco Switch is working properly.
  • Then ensure the switch is configured to accept RADIUS-Assigned ACLs via Cisco-AVPair.
  • Enable DACL support on the switch port:

    interface GigabitEthernet1/0/1
      authentication port-control auto
      mab
      dot1x pae authenticator
      ip access-group dynamic DACL_NAME in

 

  1. Create a Network Access Policy:

  • In FortiNAC, create a policy under Policy -> Network Access that matches the target hosts (e.g., by host role or group).
  • Set the Logical Network to the one linked to the DACL Attribute Group ('Data-DACL').

 

  1.  Validate and Test:

  • Use the show access-session interface [interface] details on the Cisco switch to verify the DACL is applied.
  • Check FortiNAC RADIUS logs to confirm the Cisco-AVPair attributes are being sent in the Access-Accept response.

 

   6. Validate and Test:

  •  After the device is connected to the network, FortiNAC will send the DACL in the RADIUS Access-Accept packet.
  • To verify that, go to Network -> RADIUS -> Enable all debugs under 'Debug & Troubleshooting' section and select Submit.
  • Then select View Logs -> Check Service Log. If some logs are missing select 'Refresh' to see the latest logs.

Example:

FortiNAc RADIUS debugs.JPG

 

Key Considerations:

  • Attribute Format: Each ACL line must be a separate Cisco-AVPair attribute with sequential numbering (e.g., ip:inacl#1,ip:inacl#2).
  • Switch Compatibility: Ensure the Cisco switch model supports DACLs via RADIUS attributes (IOS 12.2(25)SEE or later).
  • Port Configuration: Ports must be in autoconfig mode ip access-group dynamic to apply DACLs dynamically.

 

Related articles:

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT