Syslog config question
Posted: Wed Jan 17, 2018 8:56 pm
So I had syslog setup on a few switches and didn't pay much attention to it until I had a problem with one switch and found that I had no logs - not before losing connectivity nor after regaining it.
The config looked not unlike this:
Note that "Host" is filled in (the syslog host, one would presume), and the "NMS IP" is blank. This validates and saves without error.
I then added the IP I had in the "host" field to the "NMS IP" field and logging started:
I'm totally lost on what the difference is between these two fields. "Host" would imply "the host I want to send syslog messages to", and "NMS IP" I'm guessing means "Network Management Station IP". Both make sense as a destination, but if NMS IP is required for remote syslog, then require the field. Host is required and appears to only accept an IP.
What's the difference? I thought maybe "Host" was to be the switch's hostname and would prepend to the logs, but it's not that as it doesn't accept a hostname...
The config looked not unlike this:
Note that "Host" is filled in (the syslog host, one would presume), and the "NMS IP" is blank. This validates and saves without error.
I then added the IP I had in the "host" field to the "NMS IP" field and logging started:
I'm totally lost on what the difference is between these two fields. "Host" would imply "the host I want to send syslog messages to", and "NMS IP" I'm guessing means "Network Management Station IP". Both make sense as a destination, but if NMS IP is required for remote syslog, then require the field. Host is required and appears to only accept an IP.
What's the difference? I thought maybe "Host" was to be the switch's hostname and would prepend to the logs, but it's not that as it doesn't accept a hostname...