09-28-2010 02:24 AM - edited 03-06-2019 01:12 PM
Hi,
I am trying to configure Cisco switch to send Trap and Syslog to NMS.
What command i should use to enable these?
Thanks!
09-28-2010 02:48 AM
Hello.
Please try the following for starters:
! Define a ReadOnly Community
snmp-server community
! 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.
09-28-2010 03:24 AM
How about syslog? What needs to be configured
for authnetication failure or link down to be send via syslog? What's the cmd? Thanks!!
09-28-2010 03:26 AM
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
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