Configuration commands

Enable IP directed broadcast forwarding for Wake-on-LAN support. An optional ACL can also be applied to control what packets are forwarded.

Syntax


switch(config)# ip directed-broadcast [access-group <ACL-ID>]
access-group

Apply the specified access control list.

access-list-name-str

ASCII string specifying an ACL

Example configuration


switch(config)# ip directed-broadcast [access-group] <wol-acl>

Example running configuration

; J9573A Configuration Editor; Created on release #KA.15.18.0000x
; Ver #06:7c.fd.ff.ff.3f.ef:57
hostname "switch-name"
module 1 type j9573x
ip access-list extended "wol-acl"
....10 permit ip 192.168.1.10 0.0.0.0 182.168.1.1 0.0.0.255
....exit

ip directed-broadcast access-group "wol-acl"
ip routing
snmp-server community "public" unrestricted
oobm
....ip address dhcp-bootp
    exit
vlan 1
....name "DEFAULT_VLAN"
....no untagged 1,23-24
....untagged 2-22,25-26
....ip address dhcp-bootp
....exit
vlan 10
....name "VLAN10"
....untagged 1
....ip address 192.168.1.1 255.255.255.0
....exit
vlan 20
....name "VLAN20"
....untagged 23-24
....ip address 182.168.1.1 255.255.255.0
....exit
Figure 22: Configuration diagram
NOTE:
  • If specified ACL ID is non-existing, it is not possible to associate with IP Directed Broadcast. An error will be shown to the user.

  • It is not allowed to delete an ACL which is associated with IP Directed Broadcast and on attempt, an error message will be shown to user.

  • The same ACL wol-acl can be applied to any other interface like VLAN, port and tunnel.

<wol-acl> entries

ip access-list extended <wol-acl> 
10 permit ip 192.168.1.1 255.255.255.0 182.168.1.1 55.255.255.0
20 deny ip 172.168.1.1 255.255.255.0 162.168.1.1 255.255.255.0
Exit