The CLI 'time-object execute failed, cause by: Unknown error-

  • 1
  • Question
  • Updated 1 year ago
  • Answered
I've created a network that must be active for a selected period of time.
My AP130 devices are accepting the settings correct but the AP230 devices won't accept the setting.
When I update the device, I'm getting this error:


The CLI 'time-object Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00' execute failed, cause by: Unknown error

Anyone who knows what the problem may be?
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes

Posted 1 year ago

  • 1
Photo of Gary Smith

Gary Smith, Official Rep

  • 299 Posts
  • 61 Reply Likes
Hi,

You could try a debug to see if you get more information from the CLI of the AP;

Run this on the AP;
"_debug capwap cli"

Then push the configuration via the HM.
Then collect the logs (paste here if possible)
"show log buffer | inc debug"

Can you describe what this setting is for and what your intention is for the config?

Kind Regards,
Gary Smith
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes
The SSID must be visible from monday 0 am till tuesday 00 am. I had created a network for 'doorlichting' (translated screening). We had a screening of our institution. I wanted to make the network present for a selected period of time.
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: hex printf rc:0xffffffff

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: cmd: time-object Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00, rc:-1

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: cmd: security mac-filter Doorlichting default permit, rc:0

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:50 debug   capwap: [capwap_cli]: cmd: schedule Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00, rc:0

2017-02-20 14:48:50 debug   [capwap_cli]: capwap receive delta CLI:schedule Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00security mac-filter Doorlichting default permittime-object Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00security-object Doorlichtingno security-object Doorlichting security additional-auth-method mac-based-authsecurity-object Doorlichting security protocol-suite wpa2-aes-psk ascii-key ihqY1$sFXXC$oH2WkgrePAbFeOlEgUaAQfP1ksecurity-object Doorlichting security protocol-suite wpa2-aes-psk ascii-key ihqY1$sFX

2017-02-20 14:48:49 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:49 debug   capwap: [capwap_cli]: cmd: show running-config password, rc:0

2017-02-20 14:48:49 debug   capwap: [capwap_cli]: capwap receive delta CLI:show running-config password

2017-02-20 14:48:48 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:48 debug   capwap: [capwap_cli]: cmd: save server-files, rc:0

2017-02-20 14:48:48 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/CA, wildcard:*

2017-02-20 14:48:48 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/certs, wildcard:*

2017-02-20 14:48:48 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*

2017-02-20 14:48:48 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/web_pages, wildcard:*

2017-02-20 14:48:48 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:48 debug   capwap: [capwap_cli]: cmd: save web-page web-directory PIBOSPORTHAL https://cloud-ie.aerohive.com:443/afs-webapp/configuration/cwp/18150/PIBOSPORTHAL.tar.gz admin VHM-VXDDYXNN password 2Y2eC5/yD.VfVLlpZfZe/ basic, rc:0

2017-02-20 14:48:45 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:45 debug   capwap: [capwap_cli]: cmd: web-directory PIBOSPORTHAL, rc:0

2017-02-20 14:48:45 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:45 debug   capwap: [capwap_cli]: cmd: no web-directory PIBOSPORTHAL, rc:0

2017-02-20 14:48:45 debug   [capwap_cli]: capwap receive delta CLI:no web-directory PIBOSPORTHALweb-directory PIBOSPORTHALsave web-page web-directory PIBOSPORTHAL https://cloud-ie.aerohive.com:443/afs-webapp/configuration/cwp/18150/PIBOSPORTHAL.tar.gz admin VHM-VXDDYXNN password 2Y2eC5/yD.VfVLlpZfZe/ basicsave server-files

2017-02-20 14:48:44 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:44 debug   capwap: [capwap_cli]: cmd: clear web-directory ppsk-self-reg, rc:0

2017-02-20 14:48:44 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/tmp/ppsk_web_pages, wildcard:*

2017-02-20 14:48:44 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*

2017-02-20 14:48:44 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:44 debug   capwap: [capwap_cli]: cmd: clear web-directory, rc:0

2017-02-20 14:48:44 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/tmp/web_pages, wildcard:*

2017-02-20 14:48:44 debug   capwap: [capwap_cli]: capwap receive delta CLI:clear web-directoryclear web-directory ppsk-self-reg

2017-02-20 14:48:43 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:43 debug   capwap: [capwap_cli]: cmd: show os-detection dhcp-fingerprint-version, rc:0

2017-02-20 14:48:43 debug   capwap: [capwap_cli]: capwap receive delta CLI:show os-detection dhcp-fingerprint-version

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: cmd: save server-files, rc:0

2017-02-20 14:48:41 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/CA, wildcard:*

2017-02-20 14:48:41 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/vpn/certs, wildcard:*

2017-02-20 14:48:41 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/ppsk_web_pages, wildcard:*

2017-02-20 14:48:41 debug   ah_scd: ah_remove_path_with_wildcard: remove prefix_path:/f/web_pages, wildcard:*

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: cmd: clear aaa radius-server-key openldap, rc:0

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: cmd: clear aaa radius-server-key radiusd, rc:0

2017-02-20 14:48:41 debug   capwap: [capwap_cli]: capwap receive delta CLI:clear aaa radius-server-key radiusdclear aaa radius-server-key openldapsave server-files

2017-02-20 14:45:46 debug   ah_scd: Get proxy server info success, 1 totally.

2017-02-20 14:43:15 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:43:15 debug   capwap: [capwap_cli]: cmd: capwap client server backup name hmng-prd-ie-cwpm-01.aerohive.com connect-delay 5, rc:0

2017-02-20 14:43:15 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:43:15 debug   capwap: [capwap_cli]: cmd: capwap client server name hmng-prd-ie-cwps-02.aerohive.com connect-delay 5, rc:0

2017-02-20 14:43:15 debug   capwap: [capwap_cli]: capwap receive delta CLI:capwap client server name hmng-prd-ie-cwps-02.aerohive.com connect-delay 5capwap client server backup name hmng-prd-ie-cwpm-01.aerohive.com connect-delay 5

2017-02-20 14:40:49 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:40:49 debug   capwap: [capwap_cli]: cmd: save config, rc:0

2017-02-20 14:40:49 debug   capwap: [capwap_cli]: hex printf rc:0x0

2017-02-20 14:40:49 debug   capwap: [capwap_cli]: cmd: capwap client server name hmng-prd-ie-cwpm-01.aerohive.com connect-delay 35, rc:0

2017-02-20 14:40:49 debug   capwap: [capwap_cli]: capwap receive delta CLI:capwap client server name hmng-prd-ie-cwpm-01.aerohive.com connect-delay 35save config

2017-02-20 14:40:01 info    ah_cli: admin:<_debug capwap cli>

2017-02-20 14:38:28 debug   kernel: wifi0.3: no IPv6 routers present

2017-02-20 14:38:03 debug   kernel: wifi0.3: no IPv6 routers present

2017-02-20 14:37:54 debug   kernel: wifi1.3: no IPv6 routers present

2017-02-20 14:37:44 debug   kernel: wifi1.3: no IPv6 routers present

(Edited)
Photo of Gary Smith

Gary Smith, Official Rep

  • 299 Posts
  • 61 Reply Likes
Did the config push work that time? 

Can you check the running config to see if the config is present?

I just ran a similar test and it works for me;
Portal-03a080#sho run | inc scheduleSSID

security mac-filter scheduleSSID default permit

security-object scheduleSSID

security-object scheduleSSID security protocol-suite wpa2-aes-psk ascii-key *** 

ssid scheduleSSID

ssid scheduleSSID security-object scheduleSSID

ssid scheduleSSID security mac-filter scheduleSSID

ssid scheduleSSID 11g-rate-set 11-basic 6 9 12 18 24 36 48 54

ssid scheduleSSID multicast conversion-to-unicast auto

ssid scheduleSSID schedule schedule_2days

ssid scheduleSSID client-monitor-policy default_Policy

interface wifi0 ssid scheduleSSID

interface wifi1 ssid scheduleSSID



Portal-03a080#show run | inc schedule_2days


schedule schedule_2days once 2017-02-19 00:00 to 2017-02-22 00:00 

ssid scheduleSSID schedule schedule_2days

time-object schedule_2days once 2017-02-19 00:00 to 2017-02-22 00:00 

(Edited)
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes
The config push did not work this time
In hivemanager:
 The CLI 'time-object Doorlichting once 2017-02-19 00:00 to 2017-02-21 00:00' execute failed, cause by: Unknown error

in Putty command show ssid:

Frag=fragment threshold; RTS=request to send;

DTIM=delivery traffic indication map;

 

No. Name           Frag    RTS     DTIM period Max client  Mac filter

--- ----           ----    ---     ----------- ---------- ----------

1   PIBO-LEERLING  2346    2346    1           100         PIBO-LEERLING

2   PIBO           2346    2346    1           100         PIBO

3   PIBO-PUBLIEK   2346    2346    1           100         PIBO-PUBLIEK

4   PIBO-CAFETARIA 2346    2346    1           100         PIBO-CAFETARIA

5   PIBO-PERS      2346    2346    1           100         PIBO-PERS

Conclusion: 'Doorlichting' is not present!
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes

SPORTHAL#show schedule

Recurrent Schedules:

No. Name                 Date Range            Weekday Range    Time Range           Time Zone

--- -------------------- --------------------- ---------------- -------------------- ----------

1   Vrijdag-Zaterdag-... Undefined             Friday-Sunday    12:00:00-23:45:00    Local

2   Vrijdagochtend       Undefined             Undefined        00:00:00-06:00:00    Local

3   Maandag              Undefined             Monday           00:00:00-06:00:00..  Local

4   SPORTHALMA-DO        Undefined             Monday-Thursday  00:00:00-06:00:00..  Local

5   Woensdag             Undefined             Wednesday        00:00:00-06:00:00..  Local

6   SPORTHALWEEKEND      Undefined             Saturday-Monday  00:00:00-06:00:00    Local

7   Donderdag            Undefined             Thursday         00:00:00-06:00:00..  Local

8   SPORTHALVRIJDAG      Undefined             Friday           00:00:00-06:00:00..  Local

 

One-Time Schedules:

No. Name                      Start Time               End Time                 Time Zone

--- ------------------------- -----------------------  -----------------------  ----------

1   Doorlichting              2017/02/19 00:00:00      2017/02/21 00:00:00      Local

Photo of Gary Smith

Gary Smith, Official Rep

  • 299 Posts
  • 61 Reply Likes
I'd like to see more about the config that are trying to push. Can you add me as an external admin (gsmith@aerohive.com) so that I can look at what is happening please?

Kind regards,
Gary Smith
Photo of IT TIM

IT TIM

  • 10 Posts
  • 2 Reply Likes
After some tests, we concluded that the problem was a wrong DNS setting. Adding the correct DNS server in the networkpolicy solved the problem.
A full configuration push updated the device correctly, even with the faulty setting.

Thanks to Gary for the support!
Photo of Gary Smith

Gary Smith, Official Rep

  • 299 Posts
  • 61 Reply Likes
Thanks Tim.

In our investigations we found that the Monitor / Device Overview shows an incorrect DNS setting. We verified the correct setting on the AP CLI so this meant that there was a mismatch between what the AP was configured with and what the HM was reporting.

This is a known bug and will be resolved in a future release.

Kind Regards,
Gary Smith