panoramamacid(
panoramamacid(
)

The panoramamacid( function returns the MAC address registered with Panorama for this computer.

Parameters

No parameters.

Description

This function returns the MAC address registered with Panorama for this computer. This is the MAC address that was the primary MAC address the first time Panorama was run on this computer. It normally doesn’t change even if the network configuration changes (for example from ethernet to WiFi), however, if the original network interface no longer exists (for example the network card is removed from a modular computer), it will change.

    panoramamacid() ☞ 00:14:51:3d:ff:5e

A media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet.

Super Technical Note: If ProVUE staff asks you to reset the Panorama MAC ID based on the current computer configuration, use this code:

    removepreferencevalue "PXmID"
    let newMacID = panoramamacid()

If there is a problem with the primary network device, Panorama will scan all network devices and use the one that is first in alphabetcial order. To force Panorama to use a specific network interface, use code like shown below, which forces the use of en2 (substitute the specific device you want to use, use the ethernetinterfaces() function for a list of available network interfaces on your computer).

    setpreferencevalue "PXmPreferredNetworkInterface","en2"
    removepreferencevalue "PXmID"
    let newMacID = panoramamacid()
    removepreferencevalue "PXmPreferredNetworkInterface"

See Also

- computermacid( -- returns the primary MAC address for this computer.
- ethernetinterfaces( -- returns a dictionary containing all of the MAC addresses associated with this computer.

History

Version | Status | Notes
10.2 | New | New in this version. (This function is new, but Panorama X has kept this information internally since the original released).