Page 1 of 1

Issue with configure Cisco router for syslog

Posted: Tue Dec 04, 2018 5:56 pm
by delwins
Logon to cisco router
Enter the following text and received error message:

INET-TS-4(config)#service timestamps
INET-TS-4(config)#logging host 10.33.7.11 transport udp port 5544
Translating "host"...domain server (255.255.255.255)
^
% Invalid input detected at '^' marker.

INET-TS-4(config)#logging host 10.33.7.76 transport udp port 5544
Translating "host"...domain server (255.255.255.255)
^
% Invalid input detected at '^' marker.

Re: Issue with configure Cisco router for syslog

Posted: Wed Dec 05, 2018 9:22 am
by mcapra
delwins wrote:Logon to cisco router
This presumes that the reader has one. I unfortunately do not.

Could you describe a little more in-depth what it is you're trying to do? Also, what family of device(s) you're trying to configure? Model numbers, firmware/software versions, etc.

Re: Issue with configure Cisco router for syslog

Posted: Wed Dec 05, 2018 1:22 pm
by cdienger
I don't have a router to test this on and specifics like @mcapra request may help track down the right documenation, but from the message it looks like it's trying to resolve "host" and may just want a valid hostname or IP. Try:

logging 10.33.7.11 transport udp port 5544

Re: Issue with configure Cisco router for syslog

Posted: Wed Dec 05, 2018 4:41 pm
by delwins
The device is cisco router IOS 12.0.
The CLI command change to logging "HOSTNAME or IP ADDRESS" but it does not allow change of port to 5544.
Is it possible to change the port for Syslog Server? Cisco use the deflault port 514.

Re: Issue with configure Cisco router for syslog

Posted: Wed Dec 05, 2018 5:04 pm
by cdienger
A syslog input can be configured to listen on port 514 - either edit the existing default syslog input or create a new one using the default as a template. Inputs are configured under Configure > Global(All Instances ) > Glboal Config.

Port 514 is considered a privileged port and requires some additional configuration before logstash will be able to open listen port for it - See https://assets.nagios.com/downloads/nag ... Server.pdf