Monitor Your switches - SysLog setting

rss

Posted by SwitchBackup Team - úterý 9. února 2016 16:08:08

A. Install some Syslog server. Feel free to use some suggested in previouvs thread Monitor Your switches - SNMP setting

B. Configure Your network devices to send notification to Your Syslog server. The basic settings command for Cisco switch is

configure terminal
logging host 192.168.1.2
end


Then specify the events, you can forward to Your central store - Syslog server. The most popular is spanning tree

configure terminal
spanning-tree logging
end

or interface change state - shutdown / up with

configure terminal
  interface GigabitEthernet 0/1
  logging event link-status
end

In case of Port-channel interfaces, the command monitoring state of subinterfaces can be usefull"

configure terminal
interface Port-channel1
  logging event subif-link-status
end

There are many next command, you can use to tune up your monitoring, you can set buffer, rate limit or forward log to console too, for example


logging buffered 1024000
logging rate-limit 100
logging console informational

Look in Your SwitchBackup application, in cloud snippets repository or see suggested Cisco web pages:
Software Logging Guide on Cisco or
How to configure logging on Cisco forum.