1

I upgraded from a Cisco SG300-10MP to a Cisco SG350-10MP. A piece of software is looking for the value from 1.3.6.1.2.2.1.8.50, but the OID on the new switch is 1.3.6.1.2.2.1.8.2. The final number refers to the Ethernet port on the switch. I can either configure something on the switch or I can rewrite the software that sends SNMP queries. I’ve heard about applets that can run on switches, but I’m not sure how to start. What should I do?

1 Answer 1

1

Can I have the new switch receive the old OID and report values from the new OID?

No. The MIB for a device defines the OIDs, and it seems the MIB for your new switch has different OIDs for some things.

I’ve heard about applets that can run on switches, but I’m not sure how to start. What should I do?

The Cisco small business devices do not run IOS, so they do not run EEM scripts. Also, you could not intercept an SNMP query with an EEM script.

2
  • I read a moment ago that the OID suffix here which points to the Ethernet port is indexed by ifIndex. I’ve searched for ifIndex configuration, but I’ve only seen resources that share how to enable ifIndex persistence. Do you know if there is a way to configure custom ifIndex numbers?
    – Jake Nixon
    Jun 2, 2022 at 15:43
  • 1
    ifIndex is read only, you can't change them (via SNMP or elsewhere).
    – Zac67
    Oct 30, 2022 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.