Requirement
You are in the Global configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call the command without parameters:
auto-learn
Result
You are now in the AUTOLEARN mode.
The command prompt is as follows:
cli(config-auto-learn)#
Further notes
You exit the AUTOLEARN configuration modewith the command
end
or
exit
.
11.4.3
Commands in the interface configuration mode
This section describes commands that you can call up in the interface configuration mode.
Depending on the Interface selected, various command sets are available.
In the Global configuration mode, enter the
interface
command to change to this mode.
Commands relating to other topics that can be called in the interface configuration mode can
be found in the relevant sections.
● If you exit the Interface configuration mode with the
exit
command, you return to the Global
configuration mode.
● If you exit the Interface configuration mode with the
end
command, you return to the
Privileged EXEC mode.
11.4.3.1
switchport lock
Description
With this command, you block the learning of MAC entries. Only the static address entries of
the MAC address list are used on the port.
Security and authentication
11.4 Port Access Control List Locked Ports
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
520
Configuration Manual, 07/2017, C79000-G8976-C361-06