| Description | This article describes how to change Default Enforcement on an SSID by using CLI. |
| Scope | FortiNAC, FortiNAC-F. |
| Solution |
FortiNAC does not allow to change Default Enforcement as 'deny' or 'bypass' by using GUI. However, it can changed by using CLI. After learning the DBID of the SSID, Default Enforcement can be changed by using the command below. The following command that will assign a value as '0' will change the enforcement to 'Deny'. The value '1' represents 'Bypass' and '2' represents 'Enforce'. device -dbid <SSID_DBID> -setAttr -name DefaultAction - value 0 Note: The above change will not reflect on the GUI, and the GUI will display Default Enforcement's value as 'Enforce'. However, when a host tries to authenticate by using the SSID and if it does not match any Network Access Policy, FortiNAC rejects the authentication request since Default Enforcement is denied. In this case in Radius logs, a log like the one below should be displayed. Tue Dec 17 17:18:16 2024 : Auth: (1078) Rejected in post-auth: [6C-88-14-A1-D7-D0] (from client 192.168.0.254 port 0 cli 6C-88-14-A1-D7-D0)
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.