08-08-2006 09:41 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 10:02 AM
These are two different things
Traps are send to a trap receiver
snmp-server host 10.40.70.1 public
makes it send traps
Syslog messages are send to the syslog server
logging 10.40.70.1
makes it send syslog
Cheers,
Michel
08-08-2006 12:39 PM
Remember that snmp and syslog are different protocols. SNMP is UDP 161/162 while syslog is UDP 514. As mentioned above they will have different configurations.
You could also try:
snmp-server enable traps syslog
This will send syslog messages as snmp traps
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