cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1165
Views
5
Helpful
2
Replies

c3850 port-security problem.

ugisducmanis
Level 1
Level 1

Hi,

Client replaced a switch from 3750 to 35850 and got problems with port-security.

%PORT_SECURITY-2-PSECURE_VIOLATION

That is more interesting:

Security Violation Count   : 0

It's not increased.

WS-C3850-48T       03.03.01SE

port config on old 3750:

interface GigabitEthernet1/0/3
  switchport access vlan 500
  switchport mode access
  switchport port-security maximum 2
  switchport port-security
  switchport port-security aging time 2
  switchport port-security violation restrict
  switchport port-security aging type inactivity
  no mdix auto
  spanning-tree portfast
  spanning-tree bpduguard enable

port config on 3850:

interface GigabitEthernet1/0/3

switchport access vlan 500

switchport mode access

switchport port-security maximum 10

switchport port-security

switchport port-security aging time 2

switchport port-security violation restrict

switchport port-security aging type inactivity 

no mdix auto 

spanning-tree portfast 

spanning-tree bpduguard enable

sh mac addr sec

Port Security              : Enabled
Port Status                : Secure-up
Violation Mode             : Restrict
Aging Time                 : 2 mins
Aging Type                 : Inactivity
SecureStatic Address Aging : Disabled
Maximum MAC Addresses      : 10
Total MAC Addresses        : 1
Configured MAC Addresses   : 0
Sticky MAC Addresses       : 0
Last Source Address:Vlan   : 28d2.4408.437c:500
Security Violation Count   : 0

sho mac address-table secure interface
GigabitEthernet1/0/3
         Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
500    28d2.4408.437c    STATIC      Gi1/0/3
Total Mac Addresses for this criterion: 1

But all the time it's connected I got :

%PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address 28d2.4408.437c on port GigabitEthernet1/0/3

BR,

Ugis

2 Replies 2

jfrazer
Level 1
Level 1

Ugis -

I know this is an ancient thread, but did you ever get it resolved?  I am experiencing this exact issue currently.

Thanks.

Jim.

Hello

Clear port-security all
int x/x
shutno shut

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card