Technical Note: How to override the MAC address of the FortiGate unit network interface
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.
This is only used for physical interfaces or the MAC entry may be set in the transparent mode.
