cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
5
Helpful
1
Replies

weird syslog message format

Ferdi0802
Level 1
Level 1

I'm running syslog daemon on Solaris 7. It can receive cisco devices log, but the message format is a little bit strange

[server time-stamp] [X.X.X.X.Y.Y] [cisco log message]

where X.X.X.X is the device IP address and Y.Y is random number.

What cause syslog add Y.Y number to the device IP address?

1 Accepted Solution

Accepted Solutions

Raphael Wouters
Cisco Employee
Cisco Employee

That should be the port in octet form, with [x.x.x.x.y1.y2] you get the port with: (y1*256)+y2

This seems to be a Solaris specific behavior when it doesn't find the hostname (DNS and /etc/hosts) it uses this format.

View solution in original post

1 Reply 1

Raphael Wouters
Cisco Employee
Cisco Employee

That should be the port in octet form, with [x.x.x.x.y1.y2] you get the port with: (y1*256)+y2

This seems to be a Solaris specific behavior when it doesn't find the hostname (DNS and /etc/hosts) it uses this format.