LACP port priority controls which physical links are activated or suspended within an EtherChannel when the group exceeds a switch's maximum supported links. Lower priority values increase the likelihood a port will be selected as active, while higher values make suspension more likely.
LACP Port Priority
There are times when EtherChannel that's using multiple links may not be able to utilize all of the links, that it might need to be able to choose some of those links to shut down or not utilize as part of the EtherChannel. In that case right there, we may need to specify which channels are going to be used, which ports are going to be used and which ones aren't going to be used. In that case we would use an LACP priority.
Let's run through a little scenario here. Let's say we have two different switches and we need more bandwidth between the switches, so instead of just two links, let's say we're going to do a total of eight. However, this switch right here maybe supports eight and this one right here only supports six, and so therefore what's going to happen is it's going to shut down two of the links that are on here. But let's say we want to prioritize which links we are going to shut down. We're going to use a port priority over that.
The commands for this are really quite simple. All I need to do here is, on the switch, I'm going to get into the global configuration mode. Within there I'm going to get into my interface, so in this case right here we'll do fa1 043, which is part of a channel group here. Then what we'll do is set the priorities, so lacp, and we'll do port-priority, and then I'm going to do a question mark and we'll take a look at this.
We're setting a number anywhere between 0 and 65,535. The lower the number, the higher priority, which means that it'll choose that over other ones, so that one being the one that's going to be up.
The default for this is 32,768. So let's say I want this channel to be utilized first: then I would set it anything below that 32,768, so maybe I'd do just 32,000 and then hit enter. Now it's more likely that it's going to choose this over another port to be up and running. Or if I want to make it less likely to choose this, then I would do anything above 32,768, so let's do 33,000 and hit enter. Now it's less likely to choose this one.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →