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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Cisco 6509-Logging

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

2 REPLIES
Silver

Re: Cisco 6509-Logging

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

Cisco Employee

Re: Cisco 6509-Logging

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

624
Views
0
Helpful
2
Replies
CreatePlease to create content