Switchport Port-Security Convert; Switchport Port-Security Lock - Planet SGS-6341 Series Command Manual

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

13.2.7 switchport port-security convert

Command:
switchport port-security convert
Function:
Converts dynamic secure MAC addresses learned by the port to static secure MAC addresses, and
disables the MAC address learning function for the port.
Command mode:
Port Mode.
Usage Guide:
The port dynamic MAC convert command can only be executed after the secure port is locked. After
this command has been executed, dynamic secure MAC addresses learned by the port will be
converted to static secure MAC addresses. The command does not reserve configuration.
Example:
Converting MAC addresses in port 1 to static secure MAC addresses.
Switch(config)#interface Ethernet 1/0/1
Switch(Config-If-Ethernet1/0/1)# switchport port-security convert

13.2.8 switchport port-security lock

Command:
switchport port-security lock
no switchport port-security lock
Function:
Lock the port. After the port is locked, the MAC-address learning function will be shut down; the no
operation of this command will reset the MAC-address learning function.
Command Mode:
Port Configuration Mode.
Default:
Ports are unlocked.
Usage Guide:
Ports can only be locked after the MAC-address binding function is enabled. When a port becomes
locked, its MAC learning function will be disabled.
Examples:
Lock port 1.
Switch(config)#interface Ethernet 1/0/1
Switch(Config-If-Ethernet1/0/1)#switchport port-security lock
13-94

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents