Operating System - HP-UX
1830657 Members
28704 Online
110015 Solutions
New Discussion

System Log From a catalyst 4006

 
donne007
Regular Advisor

System Log From a catalyst 4006

I want to redirct the system Logs file from a Catalys t 4006 switch to a Hp Ux Box, I have to enable the syslog server so that the Ux Box is functioning as a Syslog Server , Can any one help me out to How i cud go abt setting up a Syslog Server ..

Thanks In Advance
Asif
2 REPLIES 2
Mihails Nikitins
Super Advisor

Re: System Log From a catalyst 4006

1. On Catalyst side

set logging server enable
set logging server A.B.C.D

where A.B.C.D is IP of your host

set logging server facility local4

local4 is syslogd local facility number (you can choose something from local1 to local7)

Choose logging level (e.g., 6=information)

set logging server severity 6
set logging level all 6 default

2. On HP-UX side

syslogd process runs by default. Just make customizations in its config file.

/etc/syslog.conf
...
*.info;mail.none; local4.none;
/var/adm/syslog/syslog.log
...
#Cisco syslogs
local4.* /var/adm/syslog/cisco.log
...
First line tells not to log Cisco info to common log, the second line tells where to store Cisco logs.

Hope this helps.

BR,
Mihails

KISS - Keep It Simple Stupid
Chris Wilshaw
Honored Contributor

Re: System Log From a catalyst 4006

Don't forget, once you've changed syslog.conf, you'll need to make syslogd re-read the file

kill -HUP `cat /etc/syslog.pid`