11

UniFi Switch Port Profiles

 3 years ago
source link: https://rowelldionicio.com/unifi-switch-port-profiles/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

UniFi Switch Port Profiles

November 24, 2020 By Rowell Leave a Comment

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.

image-18.png?resize=1024%2C697&ssl=1

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

image-19.png?resize=1024%2C205&ssl=1

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.

image-20.png?resize=1024%2C414&ssl=1

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.

image-21.png?resize=771%2C1024&ssl=1

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

image-22.png?resize=1024%2C802&ssl=1

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

image-23.png?resize=718%2C1024&ssl=1

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

image-24.png?resize=742%2C292&ssl=1

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.

image-25.png?resize=754%2C758&ssl=1

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? 

Filed Under: Networking Tagged With: unifi


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK