• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Rowell Dionicio

Get Techie With It

  • Home
  • About
  • Resources
    • Archives
    • Book List
    • YouTube
  • Learn
    • DevNet Associate
    • PCNSA Certified
  • Blog
  • Contact
  • Show Search
Hide Search

UniFi Switch Port Profiles

November 24, 2020 By Rowell 7 Comments

Consistency in configuration is key for management and troubleshooting. The UniFi platform allows the configuration of Profiles. I’ll be looking at Switch Port Profiles in order to quickly set parameters to a switch port with just a drop down option.

In my lab, I have an 8-port UniFi switch, UniFi Cloud Key Gen2 Plus, and a UniFi Security Gateway (USG).

As an example, let’s say there’s an environment where many access points will connect. In my Wi-Fi network I’ll have two SSIDs broadcasting, both on different subnets. Rather than going every single port, converting it to a trunk and allowing the specific VLANs, I’d like to just select a Switch Port Profile to configure that all for me.

Log into your UniFi dashboard and click on the Gear icon located on the bottom left of the window. Once the Settings page is available, on the left navigation under Settings, click on Profiles.

Profiles has two sections, RADIUS and Switch Ports. Click on Switch Ports.

I already have Switch Port profiles configured. But we’ll add a new one for this example. On the bottom, click on Add New Port Profile.

Next, we enter the various parameters for our UniFi Switch Port Profile. Give it a descriptive name. Since I’m configuring this profile for access points I will enable PoE/PoE+.

My access points will be plugged into a trunk port. I’ll need to set the Native VLAN or what UniFi calls the Native Network. I like to place all my access points on my infrastructure VLAN which I’ve selected in the drop down. 

Next, we tag the networks we want to include on this trunk. These are the two networks I’ll map to my SSIDs.

The other settings I’ll leave as default. But we could modify settings such as the Link Speed or maybe set up Storm Control. There have been scenarios where I’ve needed to set a threshold for multicast or broadcast.

Once finished, click on Save.

Now it’s time to use this Switch Port Profile. I head over to  Devices and select my UniFi switch. 

I see see switch ports I can modify. Select one of the ports to bring up the menu so we can modify the settings.

Hover over the port you want to configure and click on the pencil icon to modify.

Within the individual switch port, we can select a Switch Port Profile, the one we just configured, in the drop down menu.  Select this profile and click on Apply.

The switch port is now configured as a trunk with the requirements we need to properly allow the broadcast and operation of our Wi-Fi network. 

Switch Port Profiles can be configured to your requirements. In my example, I used access points. But maybe you have a set of different server port configurations. Configure the Switch Port Profile and now it’s much simpler, efficient, and clean to set the port configuration. 

Sure, you can set up the port to be a trunk allowing all VLANs, but why should you allow VLANs on a port that isn’t required to be on? 

Share this:

  • Facebook
  • LinkedIn
  • Twitter

Related

Filed Under: Networking Tagged With: unifi

About Rowell

Wi-Fi expert. Coffee addict ☕️. Tech nerd. Business owner.

Reader Interactions

Comments

  1. Gabriel Schneider says

    March 8, 2021 at 2:32 am

    Hello Rowell, thank you for your description.
    Would it be possible, to use Switchport Profiles to automatically turn Ports scheduled on and off?
    Have a nice day and greetings from Bonn, Germany,
    Gabriel

    Reply
    • Rowell says

      March 12, 2021 at 3:52 pm

      No, I don’t think there is a way to set up a schedule within a switch port profile.

      Reply
  2. Christian says

    October 11, 2021 at 11:43 pm

    Hi Rowell,
    thank you for your walkthrough.

    I have a Unifi wifi AP outside to cover my garden. This AP uses a POE+ from a 60-W switch.
    This is a weak spot as any user can unplug the LAN cable from the AP and put it in his laptop – and has now access to my LAN.
    Is there a way to use switchport settings to block any other device than the AP? Or any other traffic than wifi?

    Thank you for your opinion!
    Best
    Christian

    Reply
    • Rowell says

      October 12, 2021 at 8:42 am

      I recommend looking into mac filtering. I haven’t used it on Unifi switches yet but I believe this setting is located at Profiles > Switch Ports > 802.1x > Mac-based

      Reply
  3. Richard says

    December 20, 2021 at 3:58 pm

    hello. Do you know how come my devices can’t get an IP address when connecting to a network (both wireless and wired) that isn’t the main LAN?

    Reply
    • Rowell says

      December 20, 2021 at 11:10 pm

      I can’t tell from that much info but it’s probably a missing VLAN, no DHCP server, or your switch port isn’t a trunk.

      Reply
  4. Tolle Colart says

    January 17, 2022 at 5:26 am

    Hi, is there a way to see on which ports a specific profile is used? Or do you have to check every port of every switch to see if a specific profile is in use?

    Reply

Leave a Reply to Gabriel Schneider Cancel reply

Primary Sidebar

Recent Posts

  • Passed Palo Alto Networks Certified Security Administrator (PCNSA)
  • 5 Years Running
  • Q4 2021 and Yearly Income Report
  • I PASSED JNCIA-MistAI
  • Admins and Role-Based Access Control – PCNSA

Categories

  • bschool
  • Certifications
  • Coding
  • DevNet Associate
  • Events
  • Lab
  • Networking
  • Personal
  • Podcasting
  • Professional
  • Reviews
  • Security
  • Short Stories
  • Uncategorized
  • Wireless

Archives

  • May 2022
  • January 2022
  • December 2021
  • November 2021
  • August 2021
  • July 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • November 2018
  • September 2018
  • August 2018

Copyright © 2022 · Written by Rowell Dionicio · You're awesome.

 

Loading Comments...