Re: Detecting a swtich
From: Walter Roberson (roberson_at_ibd.nrc-cnrc.gc.ca)
Date: 04/27/05
- Previous message: Walter Roberson: "Re: Detecting a swtich"
- In reply to: Walter Roberson: "Re: Detecting a swtich"
- Next in thread: step_y_at_yahoo.com: "Re: Detecting a swtich"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Apr 2005 15:17:59 GMT
In article <d4oa0i$ho4$1@canopus.cc.umanitoba.ca>,
Walter Roberson <roberson@ibd.nrc-cnrc.gc.ca> wrote:
|In article <1114590799.617477.218320@o13g2000cwo.googlegroups.com>,
| <manohar.katoch@gmail.com> wrote:
|:Is there a tool that lets u detect if the device is a hub, unmanaged
|:switch or a managed switch connected on a network.?
|Not reliably.
I forgot a case:
Some switches, such as Cisco switches, may send out proprietary
packets such as CDP (Cisco Discovery Protocol) packets. If you see
CDP packets and the IP embedded in the CDP matches the device
IP, then you can be fairly sure that the device is a managable
Cisco device. Most non-Cisco switches will, though, pass on
CDP instead of blocking it, so the presence of CDP packets by
themselves is not enough.
You can look for -hints- in factors such as the structure of
the BPDU's and details of the spanning tree costs passed to you.
This is not reliable.
You can always try sending SNMP or RMON packets with a community
of "public" or "rmon" respectively -- if the device replies then
you know it is managed. If the device does not reply, then it
just might not be allowing that community string, or might be
requiring SNMP Authentication, or might be set to disallow
SNMP from you.
If you somehow see SYSLOG (udp 514) or SNMP Trap (UDP/TCP 162)
from the device, you know it is managed... but see the notes
in the previous posting about it being unlikely you would see these.
-- History is a pile of debris -- Laurie Anderson
- Previous message: Walter Roberson: "Re: Detecting a swtich"
- In reply to: Walter Roberson: "Re: Detecting a swtich"
- Next in thread: step_y_at_yahoo.com: "Re: Detecting a swtich"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|