Diagnostics and tools
The Diagnostics and Tools form reports the general health of the FortiSwitch unit, displays details about the FortiSwitch unit, and allows you to run diagnostic tests.
You can perform the following tasks from the Diagnostics and Tools form:
-
Authorize or deauthorize the FortiSwitch
-
Upgrade the firmware running on the switch
-
Restart the FortiSwitch unit
-
Register the FortiSwitch unit
-
Run a Cable Test
-
Start and Stop an LED Blink
-
Packet Capture: Packet capture is only available when traffic sniffing is configured for the device in the FortiGate's CLI. See Performing a packet capture.
To view the Diagnostics and Tools form:
- Go to FortiSwitch Manager > Managed FortiSwitches
- In the tree menu, select a FortiGate that contains the FortiSwitch you want to view and then select the unit in the FortiSwitch pane.
- In the toolbar, click More > Diagnostics and Tools, or right-click the unit and select Diagnostics and Tools.
Making the LEDs blink
When you have multiple FortiSwitch units and need to locate a specific switch, you can flash all port LEDs on and off for a specified number of minutes.
To identify a specific FortiSwitch unit:
- In the FortiSwitch pane, select the unit you want to identify.
- Right-click the unit and select LED Blink > Start and then select 5 minutes, 15 minutes, 30 minutes, or 60 minutes. You can also start the LED Blink from the Actions menu in the Diagnostics and Tools form.
- After you locate the FortiSwitch unit, click LED Blink > Stop.
For the 5xx switches, LED Blink flashes only the SFP port LEDs, instead of all the port LEDs. |
Performing a packet capture
To perform a packet capture on managed FortiSwitch devices:
- In the FortiGate CLI, configure the
switch-controller traffic-sniffer
setting.
For example:config switch-controller traffic-sniffer
set mode rspan
config target-mac
edit 00:0c:29:1a:2b:3c
set description "ABC123"
next
end
config target-ip
edit 192.168.11.11
set description "ABC123IP"
next
end
config target-port
edit "S000DN4K15000050"
set description "ABC123switch"
set out-ports "port1"
next
end
- Go to Managed FortiSwitches, select a FortiSwitch device, right-click and select Diagnostics and Tools.
When the FortiSwitch is configured inswitch-controller traffic-sniffer
, the Packet Capture tab is displayed and can be selected. - Configure the Max Number of Packets and/or Filters, and click Start Capture to begin capturing packets.
- Select Graph, Headers or Packet Data to view details of the packet.
- When the packet capture stops, the captured packets can be saved as a .pcap file.