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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMP authentication trap and syslog command

Hi,

I am trying to configure Cisco switch to send Trap and Syslog to NMS.

What command i should use to enable these?

Thanks!

3 REPLIES
New Member

Re: SNMP authentication trap and syslog command

Hello.

Please try the following for starters:

! Define a ReadOnly Community

snmp-server community RO

! Define an IP Interface, sourcing the traps. Make sure you verify ip connectivity to the NMS Server, from this interface.

snmp-server trap-source

! Define the NMS Server IP

snmp-server host

! Try this sample trap configuration
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

You can define additional traps with the command:

snmp-server enable traps ?

Hope this helps.

New Member

Re: SNMP authentication trap and syslog command

How about syslog? What needs to be configured

for authnetication failure or link down to be send via syslog? What's the cmd? Thanks!!

Re: SNMP authentication trap and syslog command

Hi,

Syslog can be configured by using the following

logging x.x.x.x

You can set the logging level of the traps that get sent ot the NMS using the:

logging trap [level] command.

Hope this helps,

Jonathan

369
Views
0
Helpful
3
Replies