Re: One for the Cisco experts...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx  | http://www.xdroop.com

Attachment: pgp0nyBeUSxqS.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux