cancel
Showing results for 
Search instead for 
Did you mean: 

"def" LACP flag in interface

"def" LACP flag in interface

JoseG
New Contributor II

Hi all.

I have a strange case here, or at least I've never seen such behaviour. I have a SMLT with LACP between two VSP-7254XTQ (8.10.3.0) and a final device.. In both VSP:

mlt 1 enable name "Device"

interface mlt 1
smlt
lacp enable key 1
flex-uni enable
exit

interface GigabitEthernet 1/1
lacp key 1 aggregation enable
lacp enable
exit

The LACP was working with no problem until someone accidentally configured "lacp key 1" in another interface, not related with this SMLT, and the SMLT went down. Then I shutted down the LACP interface (1/1) and corrected the lacp key in the other interface. After "no shut" in 1/1 the SMLT didnt go up and the log registered the next line:

LACP INFO lacpOperDisablePort: LACP operationally disabled on port 1/1 because the port's capability doesn't match key 1227 's capability.

Surprisingly, it seems that automatically the lacp key of 1/1 changed to 1227 (default lacp key) with no warning:

show lacp interface gigabitethernet 1/1

[...]

INDEX KEY SELECTED ATTACHED AGGR STATE
AGGR ID AGGR ID
-----------------------------------------------------------------------------------------------------------
1/1 1227 0 0 true act long indi def

[...]

Also I notice the "def" flag under STATE, which I don't know what means. I tried to reconfigure the lacp key:

interface gigabitethernet 1/1

shut

no lacp

lacp key 1

lacp enable

lacp key 1 aggregation enable

exit

Now:

show lacp interface gigabitethernet 1/1

[...]

====================================================================================================
Actor Oper
====================================================================================================
INDEX KEY SELECTED ATTACHED AGGR STATE
AGGR ID AGGR ID
-----------------------------------------------------------------------------------------------------------
1/1  1 0 0 true act long aggr def

====================================================================================================
Partner Admin
====================================================================================================

[...]

Now it seems ok, but when I do a "no shut"...

Log:

LACP INFO lacpOperDisablePort: LACP operationally disabled on port 1/1 because the port's capability doesn't match key 1 's capability

LACP:

show lacp interface gigabitethernet 1/1

[...]

====================================================================================================
Actor Oper
====================================================================================================
INDEX KEY SELECTED ATTACHED AGGR STATE
AGGR ID AGGR ID
-----------------------------------------------------------------------------------------------------------
1/1 1227 0 0 true act long indi def

[...]

The LACP key apparently changed to 1227 again without notice, but in the configuration:

interface GigabitEthernet 1/1
lacp key 1 aggregation enable
lacp enable
exit

Why is this happening? What the "def" flag means? How can I fix this behaviour?

1 ACCEPTED SOLUTION

JoseG
New Contributor II

Thanks all for your ideas, but at the end I managed to get a maintenance window for rebooting the switch. Now LACP is working well with the right key.

View solution in original post

5 REPLIES 5

CordScott
New Contributor III

I would do an auto-sense enable then no auto-sense enable on all ports in question, including the misconfigured one. Is it possible there was a second (or more) misconfigured port with lacp key 1? 

toggling auto-sense should clear everything out. 

GTM-P2G8KFN