Technical Tip: How to find the interface's MAC address
Description
In non-VDOM mode:
In VDOM mode:
get hardware nic <if_name> | grep Hwaddr
When executing the following command: 'diagnose hardware deviceinfo nic port1'.
The firewall displays information, including Current_HWaddr and Permanent_HWaddr:
Standalone mode: Current_HWaddr and Permanent_HWaddr are the same.
diagnose hardware deviceinfo nic port1 | grep addr
HWaddr: 02:09:0f:00:00:01
Permanent Hwaddr:02:09:0f:00:00:01
HA mode (Active-Passive or Active-Active): Current_HWaddr and Permanent_HWaddr are different.
Current_HWaddr – virtual MAC, shared across all HA cluster members.
Permanent_HWaddr – physical MAC assigned by the NIC manufacturer.
diagnose hardware deviceinfo nic port1
[...]
System_Device_Name port1
Current_HWaddr 00:09:0F:09:00:00
Permanent_HWaddr 00:09:0F:85:AD:8B
This distinction ensures seamless failover in HA deployments while retaining the physical MAC for hardware identification.
