cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
374
Views
0
Helpful
1
Replies

Cisco switch is broadcasting out events and errors list

m_tikshuv1
Level 1
Level 1

Hi,

i would like to know if the Cisco switch is broadcasting out events and errors that happen in it? Is there a way for me to take those events and  yous them in a  program that I am building?

 

Regard's

Michel Vaillancourt

 

 

1 Reply 1

Zach S
Level 1
Level 1

If I understand correctly, what you are looking for is syslogging. The configuration may be slightly different depending on the platform you are using. The basic setup is:
 Switch(config)# logging <IP of your syslog server>
 Switch(config)# logging trap <Level>

The logging level can range from 0 (Emergency) to 7 (Debug), but that depends on your needs.

As far as a syslog server is concerned you have a ton of options, Graylog is open source and not too terribly difficult to set up. You can create a graylog virtual appliance by downloading the .OVA they provide, or you can set it up on a CentOS or Ubuntu server. If you have a budget and want a lot of easy, and expensive plugins Splunk is great syslogging service.