cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3923
Views
0
Helpful
1
Replies

Switchport Port-Security Violation Shutdown - Email Notification?

IWilson8
Level 1
Level 1

Hello,

I am looking for a way of being notified by e-mail when an interface enters the shutdown state due to a port-security violation. I have configured a switch with the appropriate port-security commands and receive SNMP traps when consoled onto the device.

Is there any way for CiscoWorks to perform an e-mail notification when one of these events occur?

If not is there any free Syslog utilities or applications which include a free text search that I could use to search for the SNMP trap string and generate an e-mail?

I am guessing this has probably been addressed previously as there is no point shutting down ports automatically if no one is notified about it.

Thanks for any responses

Ian

1 Accepted Solution

Accepted Solutions

Martin Ermel
VIP Alumni
VIP Alumni

you can enable automatic actions on distinct syslog messages:
RME > Tools > Syslog

generate an automatic action for syslog messages of the following formats (not sure if this are all possibilities)

%PM-4-ERR_DISABLE
%PORT_SECURITY-SP-2-PSECURE_VIOLATION
%PORT_SECURITY-SPSTBY-2-PSECURE_VIOLATION


this is also a good document with important syslog messages:
http://www.cisco.com/en/US/technologies/collateral/tk869/tk769/white_paper_c11-557812.html#wp9000614

View solution in original post

1 Reply 1

Martin Ermel
VIP Alumni
VIP Alumni

you can enable automatic actions on distinct syslog messages:
RME > Tools > Syslog

generate an automatic action for syslog messages of the following formats (not sure if this are all possibilities)

%PM-4-ERR_DISABLE
%PORT_SECURITY-SP-2-PSECURE_VIOLATION
%PORT_SECURITY-SPSTBY-2-PSECURE_VIOLATION


this is also a good document with important syslog messages:
http://www.cisco.com/en/US/technologies/collateral/tk869/tk769/white_paper_c11-557812.html#wp9000614