I'm trying to enable logging from our HP ProCurve switch to a network server, but nothing seems to be generated:
On the switch:
conf t
logging 192.168.21.51
logging facility local0
end
sh debug
Debug Logging
Source IP Selection: Outgoing Interface
Destination:
Logging --
192.168.21.51
Protocol = UDP
Port = 514
Facility = local0
Severity = debug
System Module = all-pass
Priority Desc =
Enabled debug types:
event
on the server side, we are using rsyslog to collect messages, which works well with Cisco device:
# netstat -anp | grep rsyslog
udp 0 0 0.0.0.0:514 0.0.0.0:* 20568/rsyslogd
udp6 0 0 :::514 :::* 20568/rsyslogd
unix 10 [ ] DGRAM 9664099 20568/rsyslogd /dev/log
but I can't find any messages from HP Switch in /var/log/messages or in the destination log file via configuration in /etc/rsyslog.conf:
local0.* -/var/log/network.log