Layer-2 table
FortiSwitchOS uses the layer-2 table to store static MAC addresses and dynamic MAC addresses. Starting in FortiSwitchOS 7.0.0, you can use the CLI to control whether the size of the layer-2 table is checked and how often. By default, this feature is disabled. When you enable this feature, two checks are performed for each platform:
- The first time that the layer-2 table size is more than 75-percent full for each platform, FortiSwitchOS adds a warning to the system log.
- The first time that the layer-2 table size is less than 70-percent full for each platform, FortiSwitchOS adds a warning to the system log.
When you enable this feature, FortiSwitchOS checks the layer-2 table every 2 minutes. You can change how often the layer-2 table is checked to 5-86,400 seconds.
To enable this feature and specify the interval:
config switch global
set l2-memory-check enable
set l2-memory-check-interval <number_of_seconds>
end
For example:
config switch global
set l2-memory-check enable
set l2-memory-check-interval 1000
end
To disable this feature:
config switch global
set l2-memory-check disable
end