From: gladston@br.ibm.com
Date: Wed Mar 16 2005 - 17:46:20 GMT-3
Yes,
It does send traps when I type 'conf t' or 'exit' from the configuration.
But just that, no messages are sent when using debug for example.
I checked it with tcpdump on the Linux server which the router is
configured to send trap to.
"Alvarez, Rolando [NCSUS]" <RAlvare5@NCSUS.JNJ.COM>
16/03/2005 17:34
To
Alaerte Gladston Vidali/Brazil/IBM@IBMBR
cc
Subject
RE: SNMP Syslog
Have you configured:
snmp-server enable traps syslog
?
Rolando
-----Original Message-----
From: gladston@br.ibm.com [mailto:gladston@br.ibm.com]
Sent: Wednesday, March 16, 2005 1:42 PM
To: ccielab@groupstudy.com
Subject: SNMP Syslog
Reading Doyle vol II and Deal's Cisco Router Firewall Security I thought
it would be possible to send any syslog messages to the SNMP station
management, but it seems to work differently.
Only some messages are sent via SNMP, even though "logging history
debugging" is configured.
Any feedback appreciated.
r1#sh logg
Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0
flushes, 0 overruns)
Console logging: level emergencies, 1439 messages logged
Monitor logging: level debugging, 0 messages logged
Buffer logging: level debugging, 4713 messages logged
Logging Exception size (4096 bytes)
Trap logging: level debugging, 1851 message lines logged
r1#sh snmp
Chassis: 26411040
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
107 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
107 Trap PDUs
SNMP logging: enabled
Logging to 172.16.100.100.162, 0/10, 12 sent, 0 dropped.
r1#
r1#sh snmp
Chassis: 26411040
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
107 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
107 Trap PDUs
SNMP logging: enabled
Logging to 172.16.100.100.162, 0/10, 12 sent, 0 dropped.
r1#
This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:46 GMT-3