10-05-2020 07:59 AM
Nexus 9k 9336C-FX2 running nx-os 9.3.5. Upon upgrade from nx-os 9.2.2; I immediately began getting messages about mac learning being disabled on the native vlan (which is distributed world-wide over thousands of switches) due to "to many mac moves". There isn't really any important traffic on this vlan; it basically serves as the "catch all" for any misconfigurations; since all active ports on all switches company wide should have a specifically assigned vlan id.
Since trying to debug *every* potential misconfigured port is basically impossible; I was wondering if there is a way to permanently disable mac address learning for a specific vlan globally on the switch. I understand it can be done at a specific interface level; and apparently for the switch as a whole. But since the switch itself can apparently disable at the vlan level; it seems logical that one could actually configure it to do so permanently via configuration options.
Of course, I realize that logic doesn't always apply; but in this case I'm hoping it does. Maybe it's just a case of not finding it; but searches and a lot of documentation reading so far hasn't helped. Does anyone know if this is possible?
Thanks.
10-05-2020 07:15 PM
Hi
Just to make sure i got your question right.
You want to put a configuration to disable mac learning for a vlan.
Is that right?
If yes, you can try this command:
vlan configuration x
mac-learn disable
10-06-2020 12:18 PM
Correct. But apparently that's not supported in NX-OS 9.3.5 on a 9336C-FX2. It gives me back "config not supported on platform".
10-13-2020 08:36 AM
I am having the same issue. Did you ever get this resolved?
03-23-2022 10:35 AM
Dear Sir,
I have problem in mac vlan learning.
How to disable mac learnin by vlan?
Software
BIOS: version 07.66
NXOS: version 7.0(3)I7(7)
BIOS compile time: 06/11/2019
NXOS image file is: bootflash:///nxos.7.0.3.I7.7.bin
NXOS compile time: 8/28/2019 16:00:00 [08/29/2019 00:41:42]
Hardware
cisco Nexus9000 93180YC-EX chassis
03-23-2022 11:26 AM
Apparently you can't. Or; for that matter; for the entire switch until nxos 10. Just another of those things that would have been really useful in the initial nxos release that Cisco apparently overlooked.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide