Technical Tip: How to get VLAN changes to work with Ubiquiti Unifi switches
| Description | This article describes how to fix the device model for the Unifi series of Ubiquiti switches. The existing telnet MIB for the Ubiquiti line of switches is the Unifi.mib file and exists in the /bsc/CampusMgr/MasterLoader/TelnetMibs directory.
This MIB file, as it exists by default, is suitable for the older Ubiquiti edgeOS series switches and needs to be edited to make the SSH CLI function properly with the Unifi series switches. This is needed to send the VLAN change instructions to the switch when a change is appropriate. |
| Scope | FortiNAC v7.x. |
| Solution | To make the necessary edits, open the MIB file in vi using the FortiNAC CLI.
vi -N /bsc/campusMgr/master_loader/telnetMibs/Unifi.mib
Once the file is open, drop to the lines that are commented on and remove the comments.
TELNET_PARAMETERS=
Once the required changes to uncomment out the four commented lines are completed, the section should look like the following:
TELNET_PARAMETERS=
After the edit is complete, save the file with: wq.
|
