How to onboard IoT devices using MAC-address-based onboarding
In this topic, you will find a suggested process for onboarding IoT devices, when their full inventory is not known.
This topic explains how to use MAC-address-based onboarding to enroll IoT devices (MAC-authenticating devices) into Portnox Cloud when you do not have a complete inventory of these devices. The process is designed to run in two phases: the first phase is defining the accounts, and the second phase is the live enrollment of devices during migration to Portnox Cloud, when the RADIUS and 802.1X configurations are applied to the switches or access points.
Most customers do not have a full list of their IoT devices. To address this, Portnox Cloud provides MAC-address-based onboarding. This feature lets you enroll devices over a specific period, such as during a site migration. Enable this feature just before adding the 802.1X configuration to a switch or access point, and disable it once all IoT devices at the site are accounted for.
When MAC-address-based onboarding is enabled, any IoT device that connects is automatically enrolled in an account. Accounts are generated based on the device’s MAC address OUI. You can then assign these accounts to the appropriate groups and manage them via 802.1X according to your policies. The steps below describe best practices for using this feature effectively.
Phase 1: Identification
This phase is designed to identify all types of IoT devices. Use one example of each device type to create its account and assign it to the appropriate group.
-
Enable MAC-address-based onboarding. In Portnox Cloud, go to .
- Click on the Edit link.
- Activate the Grant access to any device... checkbox.
- Click on the Save button.
- Enable 802.1X/MAB on a switch and at least one switch port.
- Note the MAC address of the test device.
- Connect the device to the port configured with 802.1X/MAB.
- Monitor alerts for account creation.
- Click on the Devices option in the top menu and and search for the MAC address.
- Verify that the account to which the device was assigned is created.
-
Edit this account by clicking on the 🗎 icon in the right-hand side
pane.
- Change the Account display name to a value that represents the device type, such as IP phones, Printers, or Security devices.
- Click on the Save account button.
-
Click on the Policies option in the top menu.
- Create an access control policy for the device type represented by the account above, if needed.
-
Click on the Groups option in the top menu.
- Click on the Add group button.
- Fill in the Group name (should reflect the account created above).
- In the Device global settings section, activate the Unlimited checkbox.
- Configure wireless and wired resources as required.
- Click on the Save button.
-
On the Groups screen, in left-hand side menu, click on the ACCOUNT
MEMBERSHIP option.
- Click on the PORTNOX REPOSITORY option.
- In the All accounts pane, search for the account that you just created.
- Activate the checkbox next to the account and move it to This group’s accounts.
- Click on the Save button.
-
On the Groups screen, in the left-hand side menu, click on the POLICY
ASSIGNMENTS option.
- If required, make the changes needed to assign the policy above.
- Click on the Save button.
- Repeat the previous steps as needed to accommodate remaining examples of IoT devices.
-
Enable MAC-address-based onboarding. In Portnox Cloud, go to .
- Click on the Edit link.
- Deactivate the Grant access to any device... checkbox.
- Click on the Save button.
Phase 2: Capture
This phase is designed to capture all IoT devices based on the account and group structure defined earlier. All devices must share the same OUI. This is usually not an issue, but exceptions will be addressed if they occur. This phase happens during a migration or cut-over to Portnox Cloud.
-
Enable MAC-address-based onboarding. In Portnox Cloud, go to .
- Click on the Edit link.
- Activate the Grant access to any device... checkbox.
- Click on the Save button.
- Enable 802.1X/MAB on a switch and at least one switch port.
-
Monitor alerts for account creation and exceptions.
- If an IoT device enrolls and is not assigned to one of the pre-configured accounts, it will be assigned to an account with the vendor name of the MAC address.
- Investigate what this device is, and assign it to the proper group or delete the account and add the MAC address to the appropriate account.
- When you no longer see any live MAB authentications occurring outside of the expected groups in the alerts, the onboarding is complete.
-
Disable MAC-address-based onboarding. In Portnox Cloud, go to .
- Click on the Edit link.
- Deactivate the Grant access to any device... checkbox.
- Click on the Save button.
