Management VLAN and onboarding devices
In most situations, the management VLAN (VLAN 1) is also the default VLAN. If you do not set another VLAN as the management VLAN on a fully managed switch, access point, or router before the controller onboards these devices, all ports of these devices are untagged members of VLAN 1 after onboarding.
The controller retrieves the management VLAN or VLAN based on the devices that it onboards, with the following priority order:
- Fully managed switch: If the controller onboards a switch, the controller retrieves the management VLAN from the switch. The management VLAN must be an untagged VLAN of a trunk port.
- Access point: If no switch is onboarded, the controller retrieves the management VLAN from the access point. Because the access point must be in factory default state for onboarding, the management VLAN becomes VLAN 1. (Similar to a switch, the management VLAN must be an untagged VLAN of a trunk port, which is the situation in factory default state.)
If a switch is onboarded, the controller synchronizes the access point to the management VLAN on the controller. For example, if the management VLAN on the controller is VLAN 2, the access point receives an IP address from VLAN 2. Initially, the access point displays VLAN 1 as the management VLAN as VLAN 1, but after onboarding, the management VLAN synchronizes to VLAN 2.
- Pro Router: If only a router is onboarded, the controller retrieves the VLAN from the router. During onboarding of the router, the Auto-Trunk feature is enabled on the link on which the router connects to a fully managed switch. The Auto-Trunk feature allows the untagged VLAN on the router to coincide with the existing management VLAN.
If a switch, access point, or both are onboarded, onboarding of the router is blocked in the following situations, and an error message is displayed:
- The router has a different VLAN than the management VLAN on the controller.
- The router has the same VLAN as the one on the controller, but no DHCP server is configured on the router.
- The router has the same VLAN as the one on the controller, but it is in a different IP address range.