![Siemens SCALANCE XM-400 Configuration Manual Download Page 858](http://html.mh-extra.com/html/siemens/scalance-xm-400/scalance-xm-400_configuration-manual_382069858.webp)
Security and authentication
11.5 Port Access Control List Locked Ports
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
858
Configuration Manual, 06/2016, C79000-G8976-C252-11
Result
The learning of MAC addresses is blocked.
Further notes
You enable the learning of MAC addresses with the
no switchport lock
command.
You display the configuration with the
show lock port
command.
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
switchport lock
command.
You display the configuration with the
show lock port
command.
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
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.
Summary of Contents for SCALANCE XM-400
Page 882: ......