cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1333
Views
0
Helpful
3
Replies

SG500-28P SNMP Walk

jamiewils0n
Level 1
Level 1

Hi,

I'm struggling with running a SNMP Walk against a SG500-28P stack.

I wish to retrieve:

CPU Utilsation

Mac-address table count

Port Cahnnel utilisation.

Switch Stack member state 

When I run the walk using 1.3.6.1 all I get is basic system info and I'm struggling to see how I can retrieve the information I need:

----------------------- New Test -----------------------
Paessler SNMP Tester 5.1.3
11/11/2015 14:41:10 (1 ms) : Device: 10.1.1.1
11/11/2015 14:41:10 (2 ms) : SNMP V2c
11/11/2015 14:41:10 (3 ms) : Walk 1.3.6.1
11/11/2015 14:41:10 (9 ms) : 1.3.6.1.2.1.1.1.0 = "SG500-28P 28-Port Gigabit PoE Stackable Managed Switch"
11/11/2015 14:41:10 (18 ms) : 1.3.6.1.2.1.1.2.0 = "1.3.6.1.4.1.9.6.1.81.28.2"
11/11/2015 14:41:10 (28 ms) : 1.3.6.1.2.1.1.3.0 = "43009800"
11/11/2015 14:41:10 (37 ms) : 1.3.6.1.2.1.1.4.0 = ""
11/11/2015 14:41:10 (51 ms) : 1.3.6.1.2.1.1.5.0 = "Switch1"
11/11/2015 14:41:10 (57 ms) : 1.3.6.1.2.1.1.6.0 = ""
11/11/2015 14:41:10 (66 ms) : 1.3.6.1.2.1.1.7.0 = "6"
11/11/2015 14:41:10 (76 ms) : 1.3.6.1.2.1.1.8.0 = "0"
11/11/2015 14:41:10 (86 ms) : 1.3.6.1.2.1.1.9.1.2.1 = "1.3.6.1.4.1.89.73"
11/11/2015 14:41:10 (96 ms) : 1.3.6.1.2.1.1.9.1.3.1 = "RS capabilities"
11/11/2015 14:41:10 (105 ms) : 1.3.6.1.2.1.1.9.1.4.1 = "0"

Any help/advice would be appreciated.

3 Replies 3

sibekotech
Level 1
Level 1

Hi.

I do not use this switch, but I think  they share same SNMP OID for all models, at least for CPU. To get CPU utilization, You need CISCOSB-rndMng and CISCOSB-SCT-MIB MIB's, You can download them from support page of Your switch. You can get two parametrs:

1. CPU utilization in percents: CISCOSB-rndMng::rlCpuUtilDuringLastMinute.0

2. Utilization in PPS: CISCOSB-SCT-MIB::rlSctCpuRate.0

As for PO utilization, You can use IF-MIB::ifInOctets and IF-MIB::ifOutOctets for desired interface.

For example:

zanswer@srv03-noc-nya:~$ snmpbulkwalk -v3 -l authPriv -u noc -a sha -A xxx -x DES -X xxx 172.16.20.254 ifName


IF-MIB::ifName.1000 = STRING: Po1
IF-MIB::ifName.1001 = STRING: Po2
IF-MIB::ifName.1002 = STRING: Po3
IF-MIB::ifName.1003 = STRING: Po4
IF-MIB::ifName.1004 = STRING: Po5
IF-MIB::ifName.1005 = STRING: Po6
IF-MIB::ifName.1006 = STRING: Po7
IF-MIB::ifName.1007 = STRING: Po8

zanswer@srv03-noc-nya:~$ snmpget -v3 -l authPriv -u noc -a sha -A xxx -x DES -X xxx 172.16.20.254 IF-MIB::ifInOctets.1000

IF-MIB::ifInOctets.1000 = Counter32: 71377857

My SNMP config for switch:

snmp-server server
snmp-server engineID local
snmp-server view noc iso included
snmp-server view noc ifName.3000 excluded
snmp-server view noc ifName.7000 excluded
snmp-server view noc ifName.20000 excluded
snmp-server view noc ifName.100000 excluded
snmp-server view noc ifName.100009 excluded
snmp-server view noc ifName.100019 excluded
snmp-server view noc ifName.100029 excluded
snmp-server view noc ifName.100039 excluded
snmp-server view noc ifName.100049 excluded
snmp-server view noc ifName.100059 excluded
snmp-server group noc v3 priv read noc
encrypted snmp-server user noc noc v3 auth sha xxx priv xxx

Thanks for the reply.

The MIB's you mention above are not included within the MIB's file which you can download for this switch.

O_o MIBs_ODM_Sx500_SG500X_SG500XG_v1.4.1.2

CISCOSB-rndMng DEFINITIONS ::= BEGIN
-- Title:      CISCOSB Management Private Extension
-- Version:    7.45
-- Date:       19 Dec 2006
-- 28-Feb-2005  Added   rlCpuUtilEnable
-- 28-Feb-2005  Added   rlCpuUtilDuringLastSecond
-- 28-Feb-2005  Added   rlCpuUtilDuringLastMinute
-- 28-Feb-2005  Added   rlCpuUtilDuringLast5Minutes
-- 13-Jun-2006  Added   value {none} of rndAction
-- 20-Jun-2006  Added   rlRebootDelay
-- 19-Dec-2006  Added   resetToFactoryDefaults
-- 04-Apr-2012  Added   rlScheduledReload
-- 04-Dec-2012  Added   rlSysNameTable
Oh, I get You, You didn't find exact file name? You need this files CISCOSBmng.mib, CISCOSBsct.mib, Yeah I know that this can confuse. :)
As for stack question, check this MIB file CISCOSBstack.mib, I can't check by myself because I do no use this swtiches so.