Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Question about port security....

Hi,


I'm configuring port security.   Does anyone know whether SNMP traps are generated when the port is configured with  "port-security shutdown?"  I see that with "port-security restrict" configured, the switch does generate SNMP messages.  But, I'm not sure with the "port-security shutdown" option.

Thanks!!
Lisa G

1 REPLY

Re: Question about port security....

Hi Lisa-

You can configure the switch to send traps however if you're looking for notification of a port security violation, the switch will log it as long as syslog and/or your buffer is set to a minimum of warning. Our configuration is simple and we do not enable traps.

interface FastEthernet0/3
switchport access vlan 108
switchport mode access
switchport port-security maximum 2
switchport port-security
switchport port-security mac-address sticky
spanning-tree portfast
spanning-tree bpduguard enable

Here's an example from our syslog server of the log message.

Hope it helps.

214
Views
0
Helpful
1
Replies