From owner-freebsd-questions Wed Jan 30 9:14:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 79C3B37B400 for ; Wed, 30 Jan 2002 09:14:01 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0UHEF173122; Wed, 30 Jan 2002 12:14:15 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 30 Jan 2002 12:14:15 -0500 (EST) From: Joe Clarke To: =?iso-8859-1?q?adrian=20kok?= Cc: edwin@mavetju.org, , Subject: Re: mrtg In-Reply-To: <20020130163939.94592.qmail@web21210.mail.yahoo.com> Message-ID: <20020130121113.G72797-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 31 Jan 2002, [iso-8859-1] adrian kok wrote: > Dear all > > Thank you very much for your help > > One question, how can I have cisco log syslog to our > freebsd? I forget how to do it? On the Cisco router: logging x.x.x.x logging trap info This will log syslog messages to IP x.x.x.x and send all informational and below messages. Cisco uses facility local7 by default, but you can change this with the: logging facility command. On the FreeBSD machine, you need to tell syslogd to open a listening socket at 514/udp as well as actually accept remote messages. To do this, add the following to /etc/rc.conf: syslogd_flags="" Then, add the following to /etc/syslog.conf: local7.info /var/log/syslog.cisco Joe > > is it command syslog? or others > > Thank you > > > --- Joe Clarke wrote: > On Tue, > 2002-01-29 at 23:10, Edwin Groothuis wrote: > > > On Tue, Jan 29, 2002 at 07:51:00PM -0800, Thomas > > Cannon wrote: > > > > > > > > The cisco 800 runs Cisco IOS, so you should be > > able to turn on SNMP. > > > > > > > > Log in, go into enable mode, then configuration > > mode, and add this: > > > > > > > > your-router-name(config)#snmp-server community > > public ro > > > > > > > > Then 'write mem' and exit. > > > > > > > > It should now work with the read-only SNMP > > community string 'public' -- > > > > you might want to use a different string for > > security purposes... but as > > > > the old saying goes: SNMP -- Security, Not My > > Problem > > > > > > You can also add an access-list number behind it > > so people outside > > > that network won't get an answer: See > > > http://www.mavetju.org/networking/security.php for > > more details. > > > > A few issues on the SNMP side. One, if you don't > > specify a read-write > > community string, IOS won't allow read-write access. > > You don't need to > > create a deny any any access list. Second, there is > > no snmp-server > > trap-authentication command. On newer IOS you can > > do: > > > > snmp-server enable traps snmp authentication > > > > on older IOS, simply > > > > snmp-server enable traps snmp > > > > Just FYI. > > > > Joe > > > > > > > > Edwin > > > > > > -- > > > Edwin Groothuis | Personal website: > > http://www.MavEtJu.org > > > edwin@mavetju.org | Interested in MUDs? > > Visit Fatal Dimensions: > > > ------------------+ > > http://www.FatalDimensions.org/ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > > > > > _______________________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message