Skip to main content
cmaheu
Staff
Staff
September 6, 2019

Technical Tip: Switch VLANs via CLI for Ubiquiti Unifi switches

  • September 6, 2019
  • 0 replies
  • 2612 views

Description

 

This article describes how to solve an issue when FortiNAC is unable to switch VLANs on some Ubiquiti Unifi switches via SNMP.  This can occur when the device doesn't support SNMP writes.

Scope

 

FortiNAC versions 8.3.6 and later.

Solution


Set attributes for the Ubiquiti Unifi switch model so that the CLI method will be used to switch the VLAN. If the CLI method fails, SNMP will be used.

To enable CLI management for Ubiquiti Unifi switches, run the following command in the Control Server CLI.

 
Device -ip <switch IP Address> -setAttr -name USE_CLI -value "true"
 
Example:
 
Device -ip 10.1.1.1 -setAttr -name USE_CLI -value "true"
 
Contact Support if assistance is required.