Setting the port security mode – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 241

227
NOTE:
This configuration is independent of the MAC learning limit described in MAC address table configuration
in the
Layer 2 Configuration Guide.
Setting the port security mode
Before you set a port security mode for a port, complete the following tasks:
•
Disable 802.1X and MAC authentication.
•
Check that the port does not belong to any aggregation group or service loopback group.
NOTE:
•
You can specify a port security mode when port security is disabled, but your configuration cannot take
effect.
•
You cannot change the port security mode of a port when online users are present.
To enable a port security mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set an OUI value for
user authentication.
port-security oui oui-value index
index-value
Optional.
Not configured by default.
The command is required for the
userlogin-withoui mode.
3.
Enter interface view.
interface interface-type
interface-number
To specify the userloginWithOUI
mode, you must enter Layer 2 Ethernet
interface view or WLAN-ESS interface
view.
4.
Set the port security
mode.
port-security port-mode
{ 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 }
By default, a port operates in
noRestrictions mode.
NOTE:
•
A port in userLoginWithOUI mode allows only one 802.1X user and one user whose MAC address
contains any specified OUI to pass authentication concurrently.
•
After enabling port security, you can change the port security mode of a port only when the port is
operating in noRestrictions (the default) mode. To change the port security mode for a port in any other
mode, use the undo port-security port-mode command to restore the default port security mode first.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C S10500 Series Switches H3C S5800 Series Switches H3C S5820X Series Switches H3C S12500 Series Switches H3C S9500E Series Switches H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C SR8800 H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000