Technical Tip: Whether a VLAN switches right away if a MAC Notification trap is received
Description
This article describes whether the VLAN will be changed right away if the current VLAN is not the correct one if the MAC Notification trap is received from a port where a host connects, as opposed to waiting for the next L2 Poll.
Scope
Version: All.
Solution
L2 Polling collects MAC and connection data (where the MAC address is located on the switch). MAC notification traps already contain this information. Therefore, the host is evaluated once the MAC Notification trap is received.
If the port is enforced and the current VLAN is not appropriate for the host, the VLAN will switch.
Note: This behavior may not be consistent if the current VLAN information is not accurate. This situation may occur if VLANs were manually changed on the switch itself. See Technical Note: Best practice for manually changing VLANs on managed switches.
For details on configuration traps for MAC Notification, refer to the Fortinet Document Library.
