Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 1999 18:39:02 -0400 (EDT)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        Gustavo Lozano Ibarra <glozano@academ02.maz.itesm.mx>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: cisco switch
Message-ID:  <Pine.OSF.4.10.9909241830370.263-100000@jaguar.ir.miami.edu>
In-Reply-To: <37EBC45D.CCE871@academ02.maz.itesm.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ip address of FreeBSD machine>
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 <ip address of FreeBSD machine>
# 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 <community string>
set snmp community read-write <community string>
set snmp trap enable 
set snmp trap <ip address of FreeBSD box>

On an IOS switch:

# config t
# snmp-server community <comm string> RO
# snmp-server community <comm string> RW
# snmp-server enable traps snmp
# snmp-server host <ip address of FreeBSD box>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9909241830370.263-100000>