Port Mirroring
l There is no limit on the number of ingress or egress ports.
l An ingress or egress port cannot be mirrored to more than one destination port.
The above restrictions apply to active port mirrors. If you try to activate an invalid port mirror configuration, the
system will display the Insufficient resources!! error message.
The following example configuration is valid for FortiSwitch--3032D:
config switch mirror
edit "m1"
set dst "port16"
set status active
set src-ingress "port3" "port5" "port7"
next
edit "m2"
set dst "port22"
set status active
set src-ingress "port3" "port5"
next
edit "m3"
set dst "port1"
set status active
set src-egress "port3"
next
edit "m4"
set dst "port2"
set status active
set src-egress "port3"
end
(The above configuration includes three ingress ports, one egress port, and four destination ports. The port3
ingress and egress ports are mirrored to multiple destinations).
The following example configuration is valid for FortiSwitch-224D-POE:
config switch mirror
edit "m1"
set dst "port1"
set status active
set src-ingress "port2" "port7"
next
edit "m2"
set dst "port5"
set status active
set src-egress "port2"
next
edit "m3"
set dst "port3"
set status active
set src-ingress "port6"
next
edit "m4"
set dst "port4"
set status active
set src-egress "port6" "port8"
end
36 FortiSwitchOS-3.2.0