
Created on
05-10-2009
01:31 PM
Edited on
03-19-2025
11:25 AM
By
Stephen_G
Description |
This article provides the procedure for changing the MAC address of an interface on a FortiGate. |
Scope |
FortiGate. |
Solution |
To configure the MAC address on individual interfaces of FortiGate, follow the configuration below. FortiGate# config system interface To check if the configuration has been applied, run the following commands. FortiGate# show system interface wan2 config system interface FortiGate# diagnose hardware deviceinfo nic wan2 In some cases, configuring the MAC address for an interface is not possible, especially when the interface is part of a VLAN switch, software switch, or hardware switch.
The following error indicates that such configuration is not permitted on those interfaces. FortiGate# config system interface FortiGate(internal1) # FortiGate(internal1) # end Additionally, configuring a Mac address to a VLAN interface, VLAN switch, software switch, or hardware switch on FortiGate is not permitted currently.
Note that this command only is available on WAN and internal ports. This command is not available on common ports like port1, port2, etc. |