ExtremeWireless (WiNG)

Expand all | Collapse all

shutdown radios over snmp

  • 1.  shutdown radios over snmp

    Posted 06-07-2017 15:57
    I am trying to shutdown the access point radio over SNMP.

    I have an OID from the MIB that says I should be able to do this, but I cannot find a value that will be acceptable.

    The OID - wingCfgAltDevIfShutdown, is showing the current setting of the radio, and is a Read-Write value. It is Integer format, but I have no found a value that is acceptable using SNMPSET.

    I enter "snmpset -r:(IP Address) -o:(OID stated above) -val:10", then I receive a badvalue(3) error. I don't know what value is acceptable as a value of 1 in integer format. Any suggestions?

    This was done using snmpsoft.com snmpset function, AP7532, and WING 5.8.3 firmware.

  • 2.  RE: shutdown radios over snmp

    Posted 06-08-2017 06:14
    Hi Mark,

    looks you have a wrong OID - this one is the one you are looking for
    -- wingCfgDevIfShutdown OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION " XPath: /wing-config/device[mac=key1]/interface[name=key2]/shutdown" DEFVAL { false } ::= { wingCfgDevIfEntry 5 } [/code]
    OID you shared above is read-only and seems to be monitoring one.

    Please try with correct OID and let me know.


  • 3.  RE: shutdown radios over snmp

    Posted 09-04-2017 12:33
    Hi guys, won't open a new thread, because my target maybe the same as marks. I just wanna shut down a wireless network (a SSID for guests) via snmp and re-enable if necessary.

    I diff'ed the snmpwalks with enabled and disabled state and got the following OID:

    iso. = Gauge32: 0
    iso. = Gauge32: 0

    In enabled state both are 1, disabled zero. But the seems to be both read-only.

  • 4.  RE: shutdown radios over snmp

    Posted 09-07-2017 15:52
    I am testing on WiNG v5.9.0, but believe the MIBs are the same. I am using the WING-MIB.mib file from the AP7522 v5.9.0 firmware zip file in conjunction to Ireasoning MIB Browser. I successfully can use the following to set the WLAN shutdown (integer, value = 1) and to re-enabled use integer, value = 2).

    wingCfgWlanShutdown OBJECT-TYPE
    SYNTAX TruthValue
    MAX-ACCESS read-write
    STATUS current

    XPath: /wing-config/wlan[name=key1]/shutdown"
    DEFVAL { false }
    ::= { wingCfgWlanEntry 3 }

  • 5.  RE: shutdown radios over snmp

    Posted 09-14-2017 08:57
    Hey Christopher, I got it working, thanks fot that!

    For a complete solution of my task, I need to view/change the PSK of wlan. Is there any value at the private community tree?

  • 6.  RE: shutdown radios over snmp

    Posted 09-26-2017 04:37
    Any further ideas here?

  • 7.  RE: shutdown radios over snmp

    Posted 10-23-2017 11:38
    Hi Maik, try IF-MIB::ifDescr to define your wifi interface on device , than set this interface off by ifAdminStatus.

  • 8.  RE: shutdown radios over snmp

    Posted 06-08-2017 06:14

    seems we are both looking wrong way - this OID is for Ethernet interfaces.
    Looking around in the MIB I found that snmpwalk on group gives you overview of available interfaces
    -- wingCfgDevIfEntry OBJECT-TYPE SYNTAX WingCfgDevIfEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table." INDEX { wingCfgDevMac, wingCfgDevIfName } ::= { wingCfgDevIfTable 1 }[/code]But it does not give you direct value - (not accessible)
    [smxmgr@localhost ~]$ snmpwalk -v2c -c public SNMPv2-SMI::enterprises.388. = STRING: "radio1" SNMPv2-SMI::enterprises.388. = STRING: "radio" SNMPv2-SMI::enterprises.388. = INTEGER: 1 [/code]I am afraid there is no direct SNMP trap to shutdown the radio.
    These are only radio control parameters you can use via SNMP
    WingCfgDevIfRadioEntry ::= wingCfgDevIfRadioRfMode wingCfgDevIfRadioChannel wingCfgDevIfRadioPower wingCfgDevIfRadioPlacement wingCfgDevIfRadioBeaconInterval wingCfgDevIfRadioRtsThreshold wingCfgDevIfRadioOffChannelScan wingCfgDevIfRadioPreambleShort wingCfgDevIfRadioGuardInterval wingCfgDevIfRadioAmpduMode wingCfgDevIfRadioAmsduMode wingCfgDevIfRadioRifsMode wingCfgDevIfRadioAmpduMaxAggrSizeRx wingCfgDevIfRadioAmpduMaxAggrSizeTx wingCfgDevIfRadioAmpduMinSpacing wingCfgDevIfRadioAntennaMode wingCfgDevIfRadioNonUnicastForwarding wingCfgDevIfRadioDynamicChainSelection wingCfgDevIfRadioLockRfMode wingCfgDevIfRadioSnifferRedirHost wingCfgDevIfRadioSnifferRedirChannel wingCfgDevIfRadioMesh wingCfgDevIfRadioMeshLinks wingCfgDevIfRadioProbeResponseRetry wingCfgDevIfRadioProbeResponseRate wingCfgDevIfRadioMaxClients wingCfgDevIfRadioRadioTapMode wingCfgDevIfRadioWirelessClientPower wingCfgDevIfRadioLoadBalLfCount wingCfgDevIfRadioLoadBalLfThroughput wingCfgDevIfRadioLoadBalWmCount wingCfgDevIfRadioLoadBalWmTput wingCfgDevIfRadioAssocAcl wingCfgDevIfRadioQosPolicy wingCfgDevIfRadioAntennaDowntilt wingCfgDevIfRadioExtendedRange wingCfgDevIfRadioOperMode wingCfgDevIfRadioRates wingCfgDevIfRadioTransmitBeamforming