Security and authentication
11.5 Port Access Control List Locked Ports
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
734 Configuration Manual, 11/2015, C79000-G8976-C252-10
no switchport lock
Description
With this command, you enable the learning of MAC addresses.
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Call the command without parameters:
no switchport lock
The learning of MAC addresses is enabled.
You block the learning of MAC addresses with the switchport lock command.
You display the configuration with the
show lock port command.
Commands in the AUTOLEARN mode
This section describes commands that you can call up in the AUTOLEARN mode.
In the Global configuration mode, enter the
auto-learn command to change to this mode.
● If you exit the AUTOLEARN mode with the
exit command, you return to the Global
configuration mode.
● If you exit the AUTOLEARN mode with the
end command, you return to the Privileged
EXEC mode.
With this command, you start automatic learning. During automatic learning, the aging timer
is disabled for all learned addresses.