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

CBS350 SNMP OID to monitor stack ports state

NeverOutofTune
Level 1
Level 1

I struggled to find a way to monitor stack ports up/down status with SNMP.  I logged a TAC case and was told that this was not possible.  I think the TAC engineer was attempting to use interface OIDs which don't work when the ports are assigned as stack ports.

Digging through the MIBs for CBS350, I found some useful information.  Using snmptranslate on Ubuntu, I was able to convert the MIBs to OID.  I then discovered these series of OIDs that monitored the stack ports.

Hope this may help someone in the future.

 

For CBS350-4x, I found this OID to be useful

1.3.6.1.4.1.9.6.1.101.53.23.1.3.52  =  3 when connected, 0 when not connected

the last digit, .52 corresponds to the interface index number.  In this case, I am monitoring Te4 of a CBS350-24T-4X.  1 - 48 corresponds to the copper ports (even though this switch only has 24 copper ports).

Te3 = switch 1 index # 51 and switch 2 index # 103

Te4 = switch 1 index # 52 and switch 2 index # 104

OIDs in the same area:

From a stack with all stack ports connected (switch 1 te3 -> switch 2 te3, and switch 1 te4 -> switch 2 te4).

1.3.6.1.4.1.9.6.1.101.53.23.1.1.51 = "103" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.52 = "104" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.103 = "51" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.104 = "52" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.51 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.52 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.103 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.104 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.52 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.104 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.51 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.52 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.103 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.104 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.52 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.104 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.52 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.104 = "3" [ASN_INTEGER]

 

Another stack with Te4 disconnected:

1.3.6.1.4.1.9.6.1.101.53.23.1.1.51 = "103" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.52 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.103 = "51" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.1.104 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.51 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.52 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.103 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.2.104 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.52 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.3.104 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.51 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.52 = "1" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.103 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.4.104 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.52 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.5.104 = "0" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.51 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.52 = "2" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.103 = "3" [ASN_INTEGER]
1.3.6.1.4.1.9.6.1.101.53.23.1.6.104 = "2" [ASN_INTEGER]

 

0 Replies 0