Skip to main content
caunon
Staff
Staff
March 12, 2012

Technical Note: How to override the MAC address of the FortiGate unit network interface

  • March 12, 2012
  • 0 replies
  • 12382 views

Description

This article explains how to override the manufacturer-burned MAC address for a network interface.


Scope

FortiOS firmware version 4.00 MR2
FortiOS firmware version 4.00 MR3
FortiOS firmware version 5.0.x
 


Solution

The MAC address or MAC entry of a FortiGate unit network interface can be set with the following CLI command:
#config system interface
#edit int
#set macaddr <xx:xx:xx:xx:xx:xx>
#end

Note: <xx:xx:xx:xx:xx:xx> is the address to be set.
 
This command will override the factory-set MAC address of this network interface, by specifying a new MAC address in the format xx:xx:xx:xx:xx:xx.

This is only used for physical interfaces or the MAC entry may be set in the transparent mode.
 



Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!