Network Management

 View Only
last person joined: yesterday 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

Aruba 3810m SNMP Command Guide?

This thread has been viewed 23 times
  • 1.  Aruba 3810m SNMP Command Guide?

    Posted Jun 01, 2021 03:53 PM
    Maybe a silly question, but after I setup SNMP on the switch, and it's successfully connected to the client. 

    Is there an SNMP command guide that I can reference to find things like "a SNMP set command to disable a port on the switch?"

    ------------------------------
    Chris Floom
    ------------------------------


  • 2.  RE: Aruba 3810m SNMP Command Guide?
    Best Answer

    Posted Jun 02, 2021 02:12 AM
    To enable/disable switch port, you use SNMP set to the following OID

    OID: 1.3.6.1.2.1.2.2.1.7.(interface index)
    Value: 1 is enable and 2 is disable.

    Example:
    Enable/Disable a port
    snmpset -q -r:<switch IP> -c:<write community> -o:.1.3.6.1.2.1.2.2.1.7.<interface index> -val:<1 or 2> -tp:int

    Disable switch port 1 of 1.2.3.4
    snmpset -q -r:1.2.3.4 -c:private -o:.1.3.6.1.2.1.2.2.1.7.1 -val:2 -tp:int

    Enable switch port 2 of 1.2.3.4
    snmpset -q -r:1.2.3.4 -c:private -o:.1.3.6.1.2.1.2.2.1.7.2 -val:1 -tp:int

    This is a standard SNMP OID. It works on almost all SNMP supported devices.
    ------------------------------
    Michael Lo
    ------------------------------



  • 3.  RE: Aruba 3810m SNMP Command Guide?

    Posted Jun 02, 2021 09:10 AM

    Thanks Michael!

    Do you happen to know of any document with more information like this? 



    ------------------------------
    Chris Floom
    ------------------------------



  • 4.  RE: Aruba 3810m SNMP Command Guide?

    Posted Jun 02, 2021 09:57 AM
      |   view attached
    Actually SNMP MIB file is a kind of document. You can read this file using any SNMP MIB browser.  Please refer to node description.


    ------------------------------
    Michael Lo
    IT Manager
    ------------------------------