MX Wake on LAN failure

Richard
Here to help

MX Wake on LAN failure

LAN with 5 or 6 VLANs dont see WOL packets when sent from a server

When a PC is asleep and the ARP table has been cleared the WOL does not get through to PCs on different VLANs

Anyone got a work around for this?

Does not happen on SonicWall only MXs

 

 

6 Replies 6
ww
Kind of a big deal
Kind of a big deal

Its a layer2 protocol, so this also shouldnt work on sonicwall by default.

I read sonicwall has a solution for this but afaik meraki does not.

https://www.sonicwall.com/support/knowledge-base/how-do-i-allow-wake-on-lan-packets-to-pass-through-...

Richard
Here to help

Thanks!

 

PhilipDAth
Kind of a big deal
Kind of a big deal

Did you know that Meraki has native wake on lan support?  You click on the client in the Meraki Dashboard, and can wake them up from there.

 

PhilipDAth_0-1715634227476.png

 

Richard
Here to help

Thats ok if you want to do 1 or 2 but a hundred - and we want them to wake on a script every day at a set time

PhilipDAth
Kind of a big deal
Kind of a big deal

Here is the API call you can make from a script to do this.
https://developer.cisco.com/meraki/api-v1/create-device-live-tools-wake-on-lan/ 

 

Sample code in Python:

serial = 'Q2QN-9J8L-SLPD'
vlan_id = 12
mac = '00:11:22:33:44:55'

response = dashboard.devices.createDeviceLiveToolsWakeOnLan(
    serial, vlan_id, mac, 
    callback={'url': 'https://webhook.site/28efa24e-f830-4d9f-a12b-fbb9e5035031', 'sharedSecret': 'secret', 'httpServer': {'id': 'aHR0cHM6Ly93d3cuZXhhbXBsZS5jb20vd2ViaG9va3M='}, 'payloadTemplate': {'id': 'wpt_2100'}}
)

print(response)

 

Note that the callback URL is optional - this just notifies you once it has been done.

 

I haven't tried this with the Meraki API, but with other systems you can specify a MAC address of ff:ff:ff:ff:ff:ff to send the WOL packet to every client in the VLAN at once, with a single call.

Richard
Here to help

great thanks

Will get this tested if the guys think its suitable

We have used APIU for cameras and WiFi analytics

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels