ArubaOS-CX wake on lan / ip directed broadcast

how to handle wake on lan packets on ArubaOS-CX switches?

using ip directed broadcast to get WOL (wake on LAN) running over different routed subnets.

On ArubaOS-CX switches IP directed broadcast is supported on:
- Route Only Port (ROP)
- Switched Virtual Interface (SVI)
- Layer 3 Link Aggregation Group (L3LAG) interfaces

example:
turn ip directed broadcast on for vlan 999:
switch(config)# interface vlan 999
no shutdown
ip address 10.0.21.1/24
ip directed-broadcast

> now all ip directed broadcast will be "broadcasted" to all members in vlan 999

> ACL (Access lists) can be used to only allow this ip-directed broadcast from specific ip-adresses,
for example only ip 10.0.20.20 is allowed to send wol
access-list ip ipdb
10 permit udp 10.0.20.20 any eq 7
100 deny udp any any eq 7

#apply access list on interface where the packets are initiated
interface vlan500
apply access-list ip ipdb routed-in


#commands
show ip interface vlan999 #show ip directed broadcast status on interface
show ip directed-broadcast #gives you an overview where ip directed broadasts are enabled



see also:
https://www.arubanetworks.com/techdocs/AOS-CX/10.08/PDF/ip_route_6300-6400-83xx.pdf
https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=28864


---------------------------------------------------------
how to use wol.exe to initiate a ip directed broadcast packet:

wol.exe <<destination mac>> /d 10.0.21.255

>> 10.0.21.255 is the broadcast network address of the subnet 10.0.21.0/24
>> wol.exe - you can download it from: https://www.heise.de/download/product/wol.exe-43799

computer2know :: thank you for your visit :: have a nice day :: © 2022