From owner-freebsd-questions Fri Sep 24 15:40: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (Postfix) with ESMTP id B85A915687 for ; Fri, 24 Sep 1999 15:40:03 -0700 (PDT) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 3921"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-32 #40232) with ESMTP id <0FIL00G815L2IN@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Fri, 24 Sep 1999 18:39:02 -0400 (EDT) Date: Fri, 24 Sep 1999 18:39:02 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: cisco switch In-reply-to: <37EBC45D.CCE871@academ02.maz.itesm.mx> To: Gustavo Lozano Ibarra Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gustavo, you can use the syslog feature on the Cisco switch to determine this. Cat5K/6K/4K switches have the ability to do syslog logging using the commands: set logging level all 5 default set logging server set logging server facility LOCAL7 Then, on your FreeBSD box, add a line to /etc/syslog.conf: local7.info /var/log/cisco.log Then, touch /var/log/syslog.log If you have a 2900xl/3500xl switch, then you need to use Cisco IOS commands for syslog: # config t # logging trap informational # logging # logging facility local7 The other option is to install /usr/ports/net/ucd-snmp, and setup the trap receiver to listen for SNMP traps. To configure these on a Catalyst running switch code: set snmp community read-only set snmp community read-write set snmp trap enable set snmp trap On an IOS switch: # config t # snmp-server community RO # snmp-server community RW # snmp-server enable traps snmp # snmp-server host Then, scan your log files for link down traps or LINK syslog messages. Joe Clarke On Fri, 24 Sep 1999, Gustavo Lozano Ibarra wrote: > We use cisco switch in our network. We have public nodes, so people with > laptops can conect to the internet and our network. I have a windows > software (made by cabletron, name=spectrum) that tell me when somebody > establish a link and when they stop using a UTP port in the switch. I > want to know if there a freebsd (unix) software that can make the job. > The switch works with snmp. > > Thanks. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message