Operation Manual – Port Security-Port Binding
H3C S3100 Series Ethernet Switches
Chapter 1 Port Security Configuration
1-7
1.2.3 Setting the Port Security Mode
Follow these steps to set the port security mode:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Set the OUI value for user
authentication
port-security oui
OUI-value index
index-value
Optional
In
userLoginWithOUI
mode, a port supports one
802.1x user plus one user
whose source MAC
address has a specified
OUI value.
Enter Ethernet port view
interface
interface-type
interface-number
—
Set the port security mode
port-security port-mode
{
autolearn
|
mac-and-userlogin-sec
ure
|
mac-and-userlogin-sec
ure-ext
|
mac-authentication
|
mac-else-userlogin-sec
ure
|
mac-else-userlogin-sec
ure-ext
|
secure
|
userlogin
|
userlogin-secure
|
userlogin-secure-ext
|
userlogin-secure-or-ma
c
|
userlogin-secure-or-ma
c-ext
|
userlogin-withoui
}
Required
By default, a port operates
in
noRestriction
mode. In
this mode, access to the
port is not restricted.
You can set a port
security mode as needed.