Analysis, Solution, Symptom – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 158

Advertising
background image

19-19

Error:Can not operate security MAC address for current port mode is not autoLearn!

Analysis

No secure MAC address can be configured on a port operating in a port security mode other than
autoLearn.

Solution

Set the port security mode to autoLearn.

[AC-GigabitEthernet0/0/1] undo port-security port-mode

[AC-GigabitEthernet0/0/1] port-security max-mac-count 64

[AC-GigabitEthernet0/0/1] port-security port-mode autolearn

[AC-GigabitEthernet0/0/1] port-security mac-address security 1-1-2 vlan 1

Cannot Change Port Security Mode When a User Is Online

Symptom

Port security mode cannot be changed when an 802.1x-authenticated or MAC authenticated user is
online.

[AC-GigabitEthernet0/0/1] undo port-security port-mode

Error:Cannot configure port-security for there is 802.1X user(s) on line on port

GigabitEthernet0/0/1.

Analysis

Changing port security mode is not allowed when an 802.1x-authenticated or MAC authenticated user
is online.

Solution

Use the cut command to forcibly disconnect the user from the port before changing the port security
mode.

[AC-GigabitEthernet0/0/1] cut connection interface gigabitethernet 0/0/1

[AC-GigabitEthernet0/0/1] undo port-security port-mode

Advertising