08-08-2006 09:39 AM - edited 03-03-2019 04:25 AM
I have a Syslog server configured in my network.The Cisco 6509 switch has been configured to send SNMP traps to the syslog server by using the command:
snmp-server host 10.40.70.1 public
Do i need to put in the following command as well :
logging 10.40.70.1
Dose'nt both the commands work the same way.
Thanks!
RPS
08-08-2006 09:45 AM
the first command defines an SNMP host to receive SNMP traps generated by the 6509. the community used for these traps on this SNMP server is 'public'.
the second command defines logging to a specific Syslog host. this is not SNMP logging but device event logging. not all of these logging entries will be also logged by an SNMP trap. (some events would be; not all)
see this link for more info on the logging command:
08-08-2006 01:03 PM
Thanks ! i got ya.I also did a soul-searching on this subject and came out with the same conclusion.
Logging Buffered 6 command would send all the system logs with severity 6 and below to the internal buffer of the switch.
What i have observed with this is that it would send the messages for all the available facilities like SYS,AAA..etc.
Is there way to restrict this so that only few of them are logged.
Regards
RPS
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide