Onboard IoT devices by creating MAC-based accounts automatically
In this topic, you will learn how to configure Portnox™ Cloud to create MAC-based accounts automatically for any new devices connecting to the network.
Warning:
Keeping MAC-address-based onboarding enabled means any device can connect to your network –
functionally equivalent to running an open network with no authentication at all. This feature is designed as a temporary,
bulk onboarding tool for discovering and enrolling new IoT and MAB-authenticating devices, not as a permanently enabled
onboarding method. Enable it only during a migration, site rollout, or initial onboarding period, and disable it the moment
all intended devices have been enrolled: the shorter the period this feature stays enabled, the smaller the window of
exposure. For guidance on using this feature effectively, see: How to onboard IoT devices using MAC-address-based onboarding.
Important:
Activate automatic device registration after onboarding all company devices. Otherwise, any new device
(not just IoT) will be automatically added to the network as described below. In particular, if company devices such as
laptops or phones are not onboarded first, they may end up authenticating using their MAC address instead of 802.1X, which
is far less secure.
Note:
Once a MAC address has been onboarded and associated with an account – including a device-type account it was later moved
to – re-enabling this feature will not re-onboard or move that device back. It will authenticate normally under its existing
account, or fail with a MAC Onboarding failed because device already exists in organization alert if
authentication itself fails for another reason. This feature only onboards MAC addresses it has never seen before.
You can use this method to connect IoT devices to wired or Wi-Fi networks. The procedure is the same for both network types.
Activate automatic device registration
Before you activate automatic device registration, make sure that the Default group allows MAC-based authentication for all relevant networks (wired and specific Wi-Fi). For more information about creating and editing the networks in the group, see the following topic: Create a group.
Note:
By default, if a device doesn’t connect to the network for 90 days, its MAC address is removed from the MAB
account. You can change this period or disable this option here: . This does not mean that the device will be removed from the Portnox Cloud account. It means that if the
device has been inactive for the configured period, and it tries to authenticate again after that period using its MAC
address, it will no longer be recognized. The process for the Inactive MAC-addresses purge function is as follows:
- You add a MAC address to a MAB account – the day when you do this counts as day 1.
- The day counter increases every day at midnight tenant-time,
- Any time the device with the MAC address authenticates, the counter resets to 1.
- The moment that the counter reaches the configured limit, the MAC address is removed from the MAB account.
- The device with the MAC address is no longer in the MAB account so it cannot authenticate.







