Previous Topic: LOGNAME Statement—Specify Name of Windows Event LogNext Topic: MBEAN Statement—Specify the Name of the MBean


MAC Statement—Specify the Media Access Control (MAC) Address

The MAC statement specifies the Media Access Control (MAC) address of the computer that receives the Wake on LAN (WOL) signal. The MAC address is an integral part of the Ethernet card (NIC) of the computer's motherboard.

Supported Job Type

This statement is required for the Wake on LAN job type .

Syntax

This statement has the following formats:

MAC xx-xx-xx-xx-xx-xx
xx-xx-xx-xx-xx-xx

Specifies the Media Access Control (MAC) address of the computer that receives the Wake on LAN (WOL) signal. The MAC address consists of six 2-digit hexadecimal values separated by dashes (-). On UNIX, you can obtain the MAC address using ifconfig (listed under HWaddr). On Windows, you can obtain the MAC address using ipconfig /all (listed under Physical Address).

Note: You can also separate the values using colons (:).

Example: Broadcast the WOL Signal to a MAC Address

This example broadcasts the WOL signal to the server identified by the 172.16.0.0 IP address and the 00-11-43-73-38-DC MAC address. After the WOL signal is sent, the job completes immediately without verifying whether the signal worked.

AGENT AGENTNME
BROADCAST 172.16.0.0
MAC 00-11-43-73-38-DC