diagnose : diagnose hardware deviceinfo
 
diagnose hardware deviceinfo
Use this command to display hardware information that might be useful in debugging.
Syntax
diagnose hardware {get|set} deviceinfo ide [ide0|ide1|drivers]
diagnose hardware {get|set} deviceinfo nic [<port>] <Enter>
diagnose hardware {get|set} deviceinfo nic-detail [<port>] <Enter>
ide
Displays disk settings.
nic
Displays port settings. If you do not specify a port and press Enter, the command displays output for all ports.
nic-detail
Displays detailed port settings and statistics. If you do not specify a port and press Enter, the command displays output for all ports.
Example
FortiADC-VM # diagnose hardware get deviceinfo ?
ide display IDE device status
nic display network interface controller status
nic-detail display detailed network interface controller status
 
FortiADC-VM # diagnose hardware get deviceinfo ide ?
ide1
ide0
drivers
 
FortiADC-VM # diagnose hardware get deviceinfo ide drivers
ide-gd version 1.18
 
FortiADC-VM # diagnose hardware get deviceinfo ide ide1
 
1.model:
pci
2.mate:
ide0
3.channel:
1
 
FortiADC-VM # diagnose hardware get deviceinfo ide ide0
 
1.model:
pci
2.mate:
ide1
3.channel:
0
FortiADC-VM # diagnose hardware get deviceinfo nic-detail port1
Interface: port1
driver: vmxnet3
version: 1.1.29.0-k-NAPI
firmware-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
 
Settings for port1:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Supports Wake-on: uag
Wake-on: d
Link detected: yes
 
Pause parameters for port1:
Cannot get device pause settings: Operation not supported
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packe ts errs drop fifo colls carrier compressed
port10: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0