Disables MAC address learning on one or more ports for security purposes.
drop-packets |
Specifies that packets with unknown source MAC addresses be dropped. When disable learning is configured, this is the default behavior. |
forward-packets |
Specifies that packets with unknown source MAC addresses be forwarded. |
port |
Specifies the port. |
port_list |
Specifies one or more ports or slots and ports. |
all |
Specifies all ports and slots. |
Enabled.
Use this command in a secure environment where access is granted via permanent forwarding databases (FDBs) per port.
The following command disables MAC address learning on port 4 on a switch:
disable learning ports 4
This command was first available in ExtremeXOS 10.1.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.