Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.4

PDF

mac-learn disable

Disables dynamic MAC address learning on the physical, LAG, and virtual interfaces.

Syntax
[no] mac-learn disable
Parameters
None
Default
MAC address learning is enabled on all physical, LAG, and virtual interfaces.
Command Mode

INTERFACE-PORT-SECURITY

VLAN INTERFACE CONFIGURATION

Usage Information

MAC address learning disable works only on the port-security enabled ports. When MAC learning is disabled on a port, already existing dynamic and sticky MAC addresses are flushed and only the static MAC addresses are retained. Also, the new static MAC address configurations are accepted. Starting from Release 10.5.4.4, you can disable dynamic MAC address learning on the virtual interfaces.

Example (LAG)
OS10(config)# interface vlan 2
OS10(conf-if-vl-2)# mac-learn disable
Example (VLAN)
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# switchport port-security
OS10(conf-if-po-1-port-sec)# mac-learn disable
Supported Releases
10.5.4.2 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\