ECN configuration for managed FortiSwitch devices
Explicit Congestion Notification (ECN) allows ECN enabled endpoints to notify each other when they are experiencing congestion. It is supported on the following FortiSwitch models: 3032E, 3032D, 1048E, 1048D, 5xxD series, and 4xxE series.
On the FortiGate that is managing the compatible FortiSwitch, ECN can be enabled for each class of service (CoS) queue to enable packet marking to drop eligible packets. The command is only available when the dropping policy is weighted random early detection. It is disabled by default.
To configure FortiSwitch to enable ECN packet marking to drop eligible packets:
config switch-controller qos queue-policy edit "ECN_marking" set schedule round-robin set rate-by kbps config cos-queue edit "queue-0" set drop-policy weighted-random-early-detection set ecn enable next edit "queue-1" next edit "queue-2" next ... end next end