User Manual

Table Of Contents
If this is executed with the "no" syntax, or if "enable" is specified, EAPOL frames are forwarded.
[Note]
For interfaces on which 802.1X authentication is enabled, authentication functionality is given priority, and EAP pass-through
settings are not applied.
[Example]
Disable the EAP pass through.
SWR2311P(config)#pass-through eap disable
5.4 Port security
5.4.1 Set port security function
[Syntax]
port-security enable
port-security disable
no port-security
[Keyword]
enable : Enables port security function
disable : Disables port security function
[Initial value]
port-security disable
[Input mode]
interface mode
[Description]
Enables the port security function for the applicable interface.
If this is executed with the "no" syntax, or disable is specified, port security will be disabled for the applicable interface.
[Note]
This command can be specified only for both LAN/SFP port and logical interface.
Any unregistered terminals will be discarded at the time when the port security function is enabled.
[Example]
Enable port security for LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#port-security enable
5.4.2 Register permitted MAC addresses
[Syntax]
port-security mac-address
no port-security mac-address
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Registers MAC addresses that are allowed to communicate on ports for which port security has been enabled.
If this command is executed with the "no" syntax, deletes the registered address.
[Example]
Register MAC address 00:A0:DE:00:00:01 as a permitted address for LAN port #1.
SWR2311P(config)#port-security mac-address 00a0.de00.0001 forward port1.1 vlan 1
Command Reference | Interface control | 169