[CentOS] One for the Cisco experts...

Tue Apr 21 18:41:29 UTC 2009
David.Mackintosh at xdroop.com <David.Mackintosh at xdroop.com>

On Tue, Apr 21, 2009 at 01:22:07PM -0500, Sean Carolan wrote:

> SNMPv2-SMI::mib-2.17.4.3.1.2.0.176.208.225.191.82 = INTEGER: 389
> 
> Does this mean that the machine is plugged into port 389?  I didn't
> think there were 389 ports on the switch.

<dry>It'd be a very large switch.</dry>

No, it just means it's reachable through interface number 389.  There
is a table somewhere which associates interfance names with
descriptions or even better, the labels which you have hopefully
applied to each interface.  (Brief pause while I dig around in my
wiki and various script directories.)  If you are digging around in
your cisco, I'd try starting with something like .1.3.6.1.2.1.2.2.1.2
which on mine returns information like:

nmpwalk -c public -On -v 1 172.30.0.254 1.3.6.1.2.1.2.2 | grep Giga | head
.1.3.6.1.2.1.2.2.1.2.10101 = STRING: GigabitEthernet1/0/1
.1.3.6.1.2.1.2.2.1.2.10102 = STRING: GigabitEthernet1/0/2
[...]

In your case I'd look at .1.3.6.1.2.1.2.2.1.2.389 to see what the
interface was.

Also possibly useful:

- http://wiki.xdroop.com/space/snmp/Switch+Port+Vlans
- http://wiki.xdroop.com/space/snmp/Switch+Port+Labels

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
         dave at xdroop.com  | http://www.xdroop.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090421/a86e5b57/attachment-0005.sig>