Enable or disable VLAN accounting and change the VLAN accounting interval
You can use the following command to enable or disable VLAN accounting:
config system npu
set vlan-accounting {disable | enable}
end
VLAN accounting is enabled by default.
Changing the VLAN accounting interval
VLAN accounting enabled on a busy FortiGate with a large number of VLANs can generate large numbers of VLAN lookup (SPV/TPV) messages. In some cases these messages can cause CG-FULL conditions or packet drops, especially on very busy systems.
You can use the following command to reduce the number of VLAN accounting massages that are generated by increasing the VLAN accounting interval; which is the minimum time the system waits between generating new VLAN accounting messages.
config system npu
set vlan-acct-interval <milliseconds>
end
The default VLAN accounting interval is 200 milliseconds. The range is 100 to 10000 milliseconds.
Increase the VLAN accounting interval to reduce the number of VLAN accounting messages generated.