NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Kwiatriot's avatar
Kwiatriot
Follower
Aug 31, 2023

M4250 POE control via snmp

Hello,

I am looking to control the POE status on various switchports via snmp. Is this possible? 

2 Replies

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    By rule of thumb? standard MIB - POWER-ETHERNET-MIB is supported:


    [SNMPSET command format]
    snmpset -v 2c -c public {switch ip} { pethPsePortAdminEnable }.{ pethPsePortGroupIndex }.{ pethPsePortIndex } {integer} {value}

     

    For pethPsePortAdminEnable, OID 1.3.6.1.2.1.105.1.1.1.3
     Set OID 1.3.6.1.2.1.105.1.1.1.3 to true(1) to enable PoE function.
     Set OID 1.3.6.1.2.1.105.1.1.1.3 to false(2) to disable PoE function.

     

    For pethPsePortGroupIndex:
    This variable uniquely identifies the group containing the port to which a power Ethernet PSE is connected. Group means box in the stack, module in a rack and the value 1 MUST be used for non-modular devices.

     

    For pethPsePortIndex:
    This variable uniquely identifies the power Ethernet PSE port within group pethPsePortGroupIndex to which the power Ethernet PSE entry is connected.

  • Yes, it is possible to control the Power over Ethernet (PoE) status on various switch ports using SNMP (Simple Network Management Protocol). SNMP is a widely used protocol for monitoring and managing network devices, including switches.

    To control the PoE status on switch ports via SNMP, you can follow these steps:

    1. Ensure SNMP is enabled on your switch: First, make sure that SNMP is enabled and configured on your switch. You will need the necessary SNMP community strings and permissions to access and modify SNMP data.

    2. Identify the SNMP OID: You will need to find results SNMP Object Identifier (OID) that corresponds to the PoE status on the switch ports you want to control. SNMP OIDs are numerical identifiers used to reference specific data points within SNMP-enabled devices. The exact OID may vary depending on your switch's manufacturer and model. You can usually find this information in the switch's documentation or by searching online for your specific switch model.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More