• September 18, 2020, 01:47:09 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Change Schedule settings via SNMP  (Read 4182 times)

TomS2

  • Level 1 Member
  • *
  • Posts: 2
Change Schedule settings via SNMP
« on: June 27, 2017, 09:15:45 AM »

Hi there,

I have several DAP-2553 which I would like to configure automatically with some self-made tool.
Most of the configuration options are working fine, but I'm still struggling with the schedule settings.
Let's say, the current schedule is (for simplicity, just days on which the AP is switched on): "Mon Tue Wed Thu Fri Sat"
At least, this is what is shown on the web interface and what is returned by the SNMP query:
snmpget -v 2c -c xxx -m /usr/share/mibs/DAP-2553-v112rc007.mib 192.168.20.65 "DAP-2553-v100::advance.10.2.1.1.3.1"

When changing this to "Mon" (only Mondays), I do that with
snmpset -v 2c -c yyy -m /usr/share/mibs/DAP-2553-v112rc007.mib 192.168.20.65 "DAP-2553-v100::advance.10.2.1.1.3.1" s "Mon"
The answer is also correctly shown
.... "Mon" (I don't remember the exact output now, but there's a confirmation that I only want to have Mondays...)

If I send a new snmpget to the device, I get "All Week" as return.
snmpget -v 2c -c xxx -m /usr/share/mibs/DAP-2553-v112rc007.mib 192.168.20.65 "DAP-2553-v100::advance.10.2.1.1.3.1"
--> "All Week"

Why is that?
How can I change the days on which the AP should be switched on using this already existing schedule?

Btw, changing the time window where the AP is active, seems to work fine... (e. g. change from "09:00-20:00" to "07:00-20:00")

Any ideas?

Best,
Tom
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49182
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Change Schedule settings via SNMP
« Reply #1 on: June 27, 2017, 09:17:30 AM »

Link>Welcome!

  • What Hardware version is your DAP? Look at the sticker under the DAP.
  • Link>What Firmware version is currently loaded? Found on the DAPs web page under status.
  • What region are you located?
Logged
"Nothing Funny about It...." We are not here to Impress anyone! You have a be a COMPETENT user first to under stand COMPETENT help!

TomS2

  • Level 1 Member
  • *
  • Posts: 2
Re: Change Schedule settings via SNMP
« Reply #2 on: June 27, 2017, 10:58:53 PM »

Sorry for not providing this pieces of information earlier...

The Hardware revision is A1.
The Firmware version is 1.30
The region the AP is located in is Germany.

Best,
Tom
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49182
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Change Schedule settings via SNMP
« Reply #3 on: June 29, 2017, 09:22:28 AM »

I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this. We find that phone contact has better immediate results over using email.
Let us know how it goes please.
Logged
"Nothing Funny about It...." We are not here to Impress anyone! You have a be a COMPETENT user first to under stand COMPETENT help!