cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1051
Views
0
Helpful
3
Replies

SNMP authentication trap and syslog command

sam-lee
Level 1
Level 1

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 3

Kostas Kyriakos
Level 1
Level 1

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.

How about syslog? What needs to be configured

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: