Welcome, Guest. Please login or register.

Author Topic: 1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S  (Read 2913 times)

choehn

  • Newbie
  • *
  • Posts: 4
    • View Profile
1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S
« on: August 09, 2013, 08:32:27 AM »
# Definition for 1.3.6.1.4.1.9.1.1208

# General
SNMPv   2HC
Type   WS-C2960S
Typoid   1.3.6.1.2.1.47.1.1.1.1.13.1001
Sysdes   
OS   IOS
Icon   w2bn
Size   1
Bridge   VLX
ArpND   
Dispro   CDP
Serial   1.3.6.1.4.1.9.3.6.3.0
Bimage   1.3.6.1.4.1.9.2.1.73.0

# Vlan Specific
VLnams   1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VLnamx   
Group   1.3.6.1.4.1.9.9.46.1.2.1.1.2.1
Mode   1.3.6.1.4.1.9.9.46.1.2.1.1.3.1

# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   old
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   1.3.6.1.2.1.31.1.1.1.3
InDisc   1.3.6.1.2.1.2.2.1.13
OutDisc   1.3.6.1.2.1.2.2.1.19
IFvlan   1.3.6.1.4.1.9.9.68.1.2.2.1.2
IFvlix   
IFpowr   1.3.6.1.4.1.9.9.402.1.2.1.7   
IFpwix   1.3.6.1.4.1.9.5.1.4.1.1.11
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   
Halfdp   2
Fulldp   3

# Modules
Modesc   1.3.6.1.2.1.47.1.1.1.1.2
Moclas   1.3.6.1.2.1.47.1.1.1.1.5
Movalu   3|6|7|9|10
Moslot   1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.10
Modfw   1.3.6.1.2.1.47.1.1.1.1.9
Modser   1.3.6.1.2.1.47.1.1.1.1.11
Momodl   1.3.6.1.2.1.47.1.1.1.1.13

# RRD Graphing
CPUutl   1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
Temp   1.3.6.1.4.1.9.9.13.1.3.1.3.1008   
MemCPU   1.3.6.1.4.1.9.9.48.1.1.1.6.1   
Custom   Mem IO;G;Bytes free   1.3.6.1.4.1.9.9.48.1.1.1.6.2

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2728
    • View Profile
    • NeDi
Re: 1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S
« Reply #1 on: August 12, 2013, 10:06:42 PM »
thanks for submitting. I've got 3  1.3.6.1.4.1.9.1.1208.defs (which I assume is the real sysobjid?) Can you test against the existing ones and pick the best? Hope to have a single best suited one in the end :)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

ntmark

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • tvnz.co.nz
Re: 1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S
« Reply #2 on: August 13, 2013, 02:59:47 AM »
For the serial number I'm getting the hostname with 1.3.6.1.4.1.9.3.6.3.0, if i use 1.3.6.1.4.1.9.5.1.2.19.0 it displays the system serial.
I've checked on both 12.2-58.SE2 and 15.0-2.SE on a 24 port and 48 port version of 2960S

Can you verify it is displaying the serial or hostname for the serial field on your setup please?
Cheers
Mark

choehn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: 1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S
« Reply #3 on: August 15, 2013, 09:28:30 AM »
Thank you for feedback.

@rickli:
Sure, the 1.3.6.1.4.1.9.1.1208 is the sysobjid, wrote down the false title.
At the end, I hope is the best one. :-)

@ntmark:
I tested on a 2960S 48 Port with 15.0(2)SE2 and for me both 1.3.6.1.4.1.9.3.6.3.0 and 1.3.6.1.4.1.9.5.1.2.19.0 returned the same thing: the system serial.

Cheers

ntmark

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • tvnz.co.nz
Re: 1.3.6.1.2.1.47.1.1.1.1.13.1001 WS-C2960S
« Reply #4 on: August 15, 2013, 10:29:59 PM »
I found the problem.
We set snmp-server chassis-id [name] which is 1.3.6.1.4.1.9.3.6.3.0
So using that OID for serial returns the string defined if set, and the serial when that setting isn't set.

It looks like 1.3.6.1.4.1.9.5.1.2.19.0 should be the one to use, as it always returns the serial name no matter what config settings are changed.

Edit.
I've actually found this in a few other def files, and I have to change them each release to get the serial number out.