Wired 802.1X on Cisco Catalyst: FortiNAC always returns isolation VLAN and never sends CoA – VLAN Switching not enabled on the device model
Fortinet FortiNAC-F 7.6.7 · updated 24 Nov 2026 · 2 min read
The problem
A Windows laptop authenticates by wired 802.1X (EAP-TTLS) on a Cisco Catalyst access switch (IOS-XE, legacy 802.1X) against FortiNAC-F 7.6.7 local RADIUS. Authentication succeeds, but:
- Every Access-Accept carries the isolation/default VLAN, even when the host is Safe and Policy Details shows the production VLAN.
- When the Persistent Agent confirms the host or compliance changes, FortiNAC sends nothing to UDP 3799: no CoA-Request appears in a capture on FortiNAC, so the switch is not at fault.
- Already in place and correct: the access port is in the Legacy Role Based Access port group (see KB260045), RADIUS Server / Response Attribute (RFC5176 Custom CoA) / Logical VLAN Mapping selectors point to the switch, and the switch has aaa server radius dynamic-author with FortiNAC as client.
- The same design works on a FortiSwitch whose model has VLAN Switching Enabled ticked.
How to fix it
Cause
On FortiNAC-F 7.6.7, FortiNAC only enforces a wired 802.1X switch (policy VLAN in the Access-Accept, CoA/Disconnect on state change) when BOTH are true:
- the access port is a member of Legacy Role Based Access (KB260045), and
- VLAN Switching Enabled is ticked on the switch's device model (Network > Inventory > switch > Element).
With VLAN Switching unticked, FortiNAC treats the device as not enforced: the host falls into the Default logical network (isolation VLAN) and no RFC5176 message is attempted. This was found after leaving VLAN Switching off deliberately to stop FortiNAC changing port VLANs over SNMP/CLI.
Fix
- Network > Inventory > Cisco switch > Element > tick VLAN Switching Enabled > Save.
- Before doing so, agree which ports FortiNAC controls: with VLAN Switching on, FortiNAC can also change VLANs on non-802.1X ports in the Role Based Access group via SNMP/CLI. Keep only the intended 802.1X access ports in that group.
- Reconnect the test host and capture on FortiNAC:
exec tcpdump -nn -l -v -i any udp port 1812 or udp port 3799
Expected: Access-Accept (isolation VLAN) -> agent confirms host -> CoA-Request to the switch on 3799 -> CoA-ACK -> re-authentication on the same audit-session-id -> Access-Accept with the production VLAN.
Cisco CoA attribute group (Response configuration, RFC5176 Custom, CoA Message, port 3799)
- Calling-Station-Id = %AUTH%
- Cisco-AVPair = subscriber:command=reauthenticate
- Cisco-AVPair = subscriber:reauthenticate-type=rerun
reauthenticate keeps the link up; if the client keeps its old IP after the VLAN change, use Cisco-AVPair = subscriber:command=bounce-host-port instead (link down ~10 s, new DHCP lease). Check that show run | include authentication command returns no "bounce-port ignore".
Switch prerequisites (template)
aaa new-model
aaa authentication dot1x default group <FortiNAC group>
aaa authorization network default group <FortiNAC group>
aaa server radius dynamic-author
client <FortiNAC IP> server-key <secret>
port 3799
auth-type any
!
interface <access port>
switchport mode access
switchport access vlan <isolation VLAN>
authentication host-mode multi-auth
authentication port-control auto
dot1x pae authenticator
Verify
show authentication sessions interface <port> details
show run interface <port> | include access vlan
The session shows the production VLAN; the configured access VLAN must still be the isolation VLAN (FortiNAC must not have rewritten it).
Notes
- The CoA-ACK from IOS-XE may carry an Error-Cause value that tcpdump does not decode; the ACK and the following re-authentication are what matter.
- Each new login still lands in the isolation VLAN first and moves to production 10-30 s later once the agent confirms the host. Tell the customer.
- If FortiNAC's wired adapter online status lags, check SNMP traps / MAC notification (KB260016); this is separate from CoA.
- Complements KB260045 (Role Based Access port group); KB260044 should point to both.
Tested on Fortinet FortiNAC-F 7.6.7. Steps can differ on other versions; take a backup and try changes in a maintenance window. Pavak Technologies shares this as general guidance, without warranty.