On Fri, 23 Mar 2001, Miguel A.L. Paraz wrote:
> On Fri, Mar 23, 2001 at 10:00:24PM +0800, Joel N. Eusebio wrote:
> > I'm running debug logging on a Cisco 7206 how do i configure syslogd to
> > log all debug messages from the cisco router to the linux box???? Thanks
> > a lot.
>
> On Linux:
> - Add "local0.* /var/log/cisco" to /etc/syslog.conf
>
> $ killall syslogd
> $ /usr/sbin/syslogd -r # Receive network messages
>
> On your Cisco:
>
> configure terminal
> logging facility local0
> logging source-interface FastEthernet0/0 # optional, change to your interface
> logging host 203.176.28.131
>
>
just to add,
don't forget to protect your udp port 514 (using ipchains would suffice).
Using /usr/sbin/syslogd -r would open up your syslogd to the world ...
somebody might send you bogus logs and eventually filling up your
harddrive ... :(
-mark
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]