Requirement
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call the command without parameters:
switchport lock
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.4.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.
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
Configuration Manual, 07/2017, C79000-G8976-C361-06 521