Technical Tip: List the Serial Numbers of FortiGate HA, FortiSwitches and FortiAPs in CLI
| Description | This article describes how to list all serial numbers of your FortiGate HA members, as well as any FortiSwitches and FortiAPs managed by FortiGate. |
| Scope | FortiGate. |
| Solution |
Execute the command:
For example:
get sys ha status HA Health Status: OK Model: FortiGate-VM64-KVM Mode: HA A-P Primary selected using: ses_pickup: disable override: enable Configuration Status: FGVM1VTM2300XXX(updated 4 seconds ago): in-sync FGVM1VTM2300XXX(updated 3 seconds ago): in-sync . . . Primary : FGTA , FGVM1VTM2300XXX, HA cluster index = 1 Secondary : FGTB , FGVM1VTM2300XXX, HA cluster index = 0
Execute command (on the FortiGate): execute switch-controller get-conn-status
For example: execute switch-controller get-conn-status Managed-devices in current vdom root:
FortiLink interface : fortilink SWITCH-ID VERSION STATUS FLAG ADDRESS JOIN-TIME NAME S108EP591XXXXX v7.2.2 (419) Authorized/Up - 10.10.10.2 Fri Jun 28 11:53:24 2024 FSW
Execute command (on the FortiGate):
get wireless-controller wtp
For example:
get wireless-controller wtp == [ FP221E55190XXXXX ] wtp-id: FP221E551XXXXX |
