Dear Expert,
We are using N2048, which firmware 6.1.1.7, and would like to apply port security to limit the mac address to one. We connect one PC to this port only. However, the PC cannot connect to the network.
Then, we increase the port security max to 2 and below is the output. The PC can connect to the network now. The number of dynamic addresses is 2 (highlighted in red) in the output below, but only one mac address is shown. If we unplup the PC from the port and the port goes down, the mac address is not in the show port security anymore and the dynamic entry is reduced to 1.
Please advise.
===============================================================
DV115SW03#show running-config interface gigabitethernet 2/0/20
storm-control broadcast
storm-control multicast
storm-control unicast
ip dhcp snooping limit rate 100
ip verify source
ip arp inspection limit rate 100 burst interval 1
spanning-tree portfast
switchport access vlan 521
port security discard
port security max 2
DV115SW03#
DV115SW03#show inter sta | in 2/0/20
Gi2/0/20 521 Full 1000 Auto Up Active
DV115SW03#show mac address-table interface gigabitethernet 2/0/20
Aging time is 300 Sec
Vlan Mac Address Type Port
-------- --------------------- ----------- ---------------------
521 8851.FB5B.C654 Dynamic Gi2/0/20
DV115SW03#show ports security addresses gigabitethernet 2/0/20
Dynamic addresses: 2
Maximum addresses: 2
Learned addresses
------- ---------
8851.FB5B.C654
DV115SW03#show ip dhcp snooping binding | include 2/0/20
8851.FB5B.C654 10.19.1.40 521 Gi2/0/20 DYNAMIC 168921
DV115SW03#