Troubleshooting Tip: Port not learning mac-address
| Description | This article describes how to troubleshoot the issue when mac-address is not getting learned on the port. |
| Scope | FortiSwitch. |
| Solution | In some scenarios, while moving a client from one port to another, the switch does not learn the mac-address on another port. Below are some steps which can be performed to troubleshoot the issue:
diagnose switch physical-ports cable-diag <port_number>
diagnose switch physical-port linerate <port_name>
diagnose switch mac-address list | grep <mac-address> If the mac-address is already present on any port, then check if that port has sticky-mac enabled on it: config switch interface edit <port_name> config switch interface edit "port2" set trust-ip-dscp-map '' set default-cos 0 set qos-policy "default" set ptp-policy "default" set ptp-status enable set sticky-mac disable ----------------> This must be disabled. set log-mac-event disable set nac disable next end |