The environment has been upgraded from NSX 3.2.x to 4.2.x.
Below logs will be noticed:
grep "com.vmware.vswitch.port.macManagement" commands/dump-vswitch-info-nsx.py.txt
com.vmware.vswitch.port.macManagement = mac change allow; learning disabled; flooding disabled; macLimit 4096; macLimitPolicy: allow
VMware NSX
default-mac-discovery-profile).This is an expected behavior in NSX 4.1 as default MAC discovery profile has mac learning disabled.
Workaround :
Environments using NSX Keeper (4.1.x) or Longview (4.2.x) can use a custom MAC discovery profile with MAC learning enabled instead of the default default-mac-discovery-profile.