SNMP authentication trap and syslog command

Unanswered Question
Sep 28th, 2010

Hi,

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

What command i should use to enable these?

Thanks!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Kostas Kyriakos Tue, 09/28/2010 - 02:48

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.

sam-lee Tue, 09/28/2010 - 03:24

How about syslog? What needs to be configured

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

jonathanaxford Tue, 09/28/2010 - 03:26

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

Actions

This Discussion