Note 1: In the following examples, two MAC addresses are used: - Current_HWaddr: this is current hardware address of the interface and the one seen in the network. This address can be changed from the CLI when the FortiGate is running standalone mode. - Permanent_HWaddr: The MAC address programmed by the NIC manufacturer for the Vendor ; also called burnt-in MAC address. This address cannot be changed. By default, the Current_HWaddr is the same as the Permanent_HWaddr. When configuring HA mode active-active or active-passive, all interfaces MAC addresses are modified with the corresponding virtual mac address (based on vdom id, port, ha group) |
Note 2: How to change a MAC address of a physical interface ( standalone mode only) : config system interface edit "port1" set macaddr 00:01:02:03:04:05 next end |
a. Used without any option, the command below will list all interfaces available:
FGT400-8 # diagnose hardware deviceinfo nic
usage: diagnose hardware deviceinfo nic <nic name>
The following NICs are available:
port4-ha
port3
port2
port1
b. Used with the interface name, the command will give the MAC address information:
FGT400-8 # diagnose hardware deviceinfo nic port1
[...]
System_Device_Name port1
Current_HWaddr 00:09:0F:85:AD:8B
Permanent_HWaddr 00:09:0F:85:AD:8B
[...]
FGT400-8 # 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
[...]
Related Articles
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.