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

Syslog and trap messages

Hello, can anybody give me a list of the most important syslog and trap messages to monitor in a router and in a switch? I want to define some automatic action for them.

Thanks in advance,

Ruben

3 REPLIES
Community Member

Re: Syslog and trap messages

It depends on what is running on your network. You can try some of the following if they are relevant to your network:

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps frame-relay

snmp-server enable traps rtr

snmp-server enable traps dlsw

Re: Syslog and trap messages

Hi,

this is what I'm using for SNMP traps:

on IOS switches (2900XL, 3500XL):

snmp-server enable traps snmp authentication linkdown linkup coldstart

snmp-server enable traps vlan-membership

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps c2900

snmp-server enable traps vtp

snmp-server enable traps cluster

on CatOS switches:

set snmp trap enable module

set snmp trap enable chassis

set snmp trap enable bridge

set snmp trap enable vtp

set snmp trap enable auth

set snmp trap enable entityfru

set snmp trap enable ippermit

set snmp trap enable vmps

set snmp trap enable entity

set snmp trap enable config

set snmp trap enable stpx

set snmp trap enable system

set snmp trap enable envfan

set snmp trap enable envshutdown

set snmp trap enable envpower

on routers:

snmp-server enable traps snmp

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps hsrp

snmp-server enable traps frame-relay

For syslog:

on IOS switches (2900XL, 3500XL):

logging trap notifications

logging source-interface VLAN1

on CatOS switches:

set logging server enable

set logging server x.x.x.x

set logging level ip 3 default

set logging level spantree 4 default

set logging level sys 6 default

set logging server severity 6

on routers:

logging buffered 20000 debugging

logging trap notifications

logging x.x.x.x

Regards,

Milan

Community Member

Re: Syslog and trap messages

149
Views
0
Helpful
3
Replies
CreatePlease to create content