Port-Security Port-Mode - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

port-security port-mode

Syntax
port-security port-mode { autolearn | mac-authentication | mac-else-userlogin-secure |
mac-else-userlogin-secure-ext | secure | userlogin | userlogin-secure | userlogin-secure-ext |
userlogin-secure-or-mac | userlogin-secure-or-mac-ext | userlogin-withoui }
undo port-security port-mode
View
Interface view
Default Level
2: System level
Parameters
autolearn: Operates in autoLearn mode.
mac-authentication: Operates in macAddressWithRadius mode.
mac-else-userlogin-secure: Operates in macAddressElseUserLoginSecure mode.
mac-else-userlogin-secure-ext: Operates in macAddressElseUserLoginSecureExt mode.
secure: Operates in secure mode.
userlogin: Operates in userLogin mode.
userlogin-secure: Operates in userLoginSecure mode.
userlogin-secure-ext: Operates in userLoginSecureExt mode.
userlogin-secure-or-mac: Operates in macAddressOrUserLoginSecure mode.
userlogin-secure-or-mac-ext: Operates in macAddressOrUserLoginSecureExt mode.
userlogin-withoui: Operates in userLoginWithOUI mode.
Description
Use the port-security port-mode command to set the port security mode of a port.
Use the undo port-security port-mode command to restore the default.
By default, a port operates in noRestrictions mode, where port security does not take effect.
Note that:
Configuration of port security mode on a port is mutually exclusive with the configuration of 802.1X
authentication, port access control method, port access control mode, and MAC authentication on
the port.
With port security enabled, you can change the port security mode of a port only when the port is
operating in noRestrictions mode, the default mode. You can use the undo port-security
port-mode command to restore the default port security mode.
Before configuring the port security mode to autoLearn, be sure to configure the maximum
number of secure MAC addresses allowed on the port by using the port-security
max-mac-count command.
You cannot change the port security mode of a port with users online.
Related commands: display port-security.
8-12

Advertisement

Table of Contents
loading

Table of Contents