193
1. Authenticated user : MAC address: 0002-0000-0011
Controlled User(s) amount to 1
In addition, as NTK is enabled, frames with unknown destination MAC addresses, multicast addresses,
and broadcast addresses should be discarded.
Troubleshooting port security
Cannot set the port security mode
Symptom
Cannot set the port security mode.
[Router-GigabitEthernet1/0/1] port-security port-mode autolearn
Error:When we change port-mode, we should first change it to noRestrictions, then change
it to the other.
Analysis
For a port operating in a port security mode other than
noRestrictions
, you cannot change the port
security mode by using
port-security port-mode
directly.
Solution
Set the port security mode to
noRestrictions
first.
[Router-GigabitEthernet1/0/1] undo port-security port-mode
[Router-GigabitEthernet1/0/1] port-security port-mode autolearn
Cannot configure secure MAC addresses
Symptom
Cannot configure secure MAC addresses.
[Router-GigabitEthernet1/0/1] port-security mac-address security 1-1-2 vlan 1
Error: Security MAC address configuration failed.
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
.
[Router-GigabitEthernet1/0/1] undo port-security port-mode
[Router-GigabitEthernet1/0/1] port-security max-mac-count 64
[Router-GigabitEthernet1/0/1] port-security port-mode autolearn
[Router-GigabitEthernet1/0/1] port-security mac-address security 1-1-2 vlan 1