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

SNMP Traps

Hi,

I'm looking to setup snmp traps on a 3845 with the following:

LOGIN - Success, failure etc

VLAN - Changes etc

UPLINK - Up/Down

EIGRP - State Changes/Up/Down/Neighbours etc etc

BGP - State Changes/Up/Down/Neighbours etc etc

Need to setup the following on 2960,3560 & 3750

VLAN - Create/Delete/Membership

UPLINKS - UP/Down

LOGIN - Success/Failures

DOT1Q

Thanks,

Lee

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: SNMP Traps

There are no login traps per se.  You can enable success/failure syslogs using the "login on-success" and "login on-failure" commands.  If you enable syslog traps, those messages will appear as traps, though you would need to parse a string varbind to extract the details.  Syslog traps can be abled with:

snmp-server enable traps syslog

For link up/down traps:

snmp-server enable traps snmp linkup linkdown

For EIGRP:

snmp-server enable traps eigrp

For BGP:

snmp-server enable traps bgp

For VLAN, you can enable VTP traps, but nothing specific to VLAN changes:

snmp-server enable traps vtp

For dot1q, there are no specific traps.

2 REPLIES
Cisco Employee

Re: SNMP Traps

There are no login traps per se.  You can enable success/failure syslogs using the "login on-success" and "login on-failure" commands.  If you enable syslog traps, those messages will appear as traps, though you would need to parse a string varbind to extract the details.  Syslog traps can be abled with:

snmp-server enable traps syslog

For link up/down traps:

snmp-server enable traps snmp linkup linkdown

For EIGRP:

snmp-server enable traps eigrp

For BGP:

snmp-server enable traps bgp

For VLAN, you can enable VTP traps, but nothing specific to VLAN changes:

snmp-server enable traps vtp

For dot1q, there are no specific traps.

Community Member

Re: SNMP Traps

Great thanks !

761
Views
0
Helpful
2
Replies
CreatePlease to create content