Security and authentication
11.5 Port Access Control List Locked Ports
Result
The learning of MAC addresses is blocked.
Further notes
You enable the learning of MAC addresses with the
You display the configuration with the
11.5.3.2
no switchport lock
Description
With this command, you enable the learning of MAC addresses.
Requirement
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call the command without parameters:
no switchport lock
Result
The learning of MAC addresses is enabled.
Further notes
You block the learning of MAC addresses with the
You display the configuration with the
11.5.4
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
● If you exit the AUTOLEARN mode with the
configuration mode.
● If you exit the AUTOLEARN mode with the
EXEC mode.
858
no switchport lock
command.
show lock port
switchport lock
command.
show lock port
command to change to this mode.
auto-learn
command, you return to the Global
exit
command, you return to the Privileged
end
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
command.
command.