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:3 on a modular switch:
disable learning ports 4:3
This command was first available in ExtremeXOS 10.1.
Support for drop-packets and forward-packets options on the BlackDiamond 8800 switches was included in ExtremeXOS 12.1.
This command is available on all platforms.