Fortinet white logo
Fortinet white logo

CLI Reference

diagnose cid

diagnose cid

Device Identification diagnostics.

This topic includes the following commands:

diagnose cid debug

Control debug log for cid.

diagnose cid debug

diagnose cid debug filter

Show the filter for this console.

diagnose cid debug filter

diagnose cid debug filter clear

Clear the filter.

diagnose cid debug filter clear

diagnose cid debug filter clear mac

Clear the MAC filter.

diagnose cid debug filter clear mac

diagnose cid debug filter mac

Source or destination MAC address to match.

diagnose cid debug filter mac

diagnose cid debug start

Start logging cid debug on this console.

diagnose cid debug start

diagnose cid debug stop

Stop logging cid debug on this console.

diagnose cid debug stop

diagnose cid restart

Restart cid.

diagnose cid restart

diagnose cid scan

Scan something

diagnose cid scan

diagnose cid scan csf

Scan Fortinet serial number (SN) as if it came from CSF

diagnose cid scan csf <interface> <ip4-address> <serial-number>

Parameter

Description

Type

Size

<interface>

Interface the device is connected to.

string

<ip4-address>

IPv4 address of the device

string

<serial-number>

Fortinet device serial number (SN)

string

diagnose cid scan ethernet

Scan a hex-encoded ethernet packet

diagnose cid scan ethernet <hex-encoded-ethernet-packet>

Parameter

Description

Type

Size

<hex-encoded-ethernet-packet>

Hex encoded Ethernet packet.

string

diagnose cid scan forticlient

Scan a FortiClient OS/VERSION string

diagnose cid scan forticlient <mac> <ipv4-address> <os/version>

Parameter

Description

Type

Size

<mac>

MAC address of the device

string

<ipv4-address>

IPv4 address of the device

string

<os/version>

FortiClient OS/VERSION

string

diagnose cid scan lldp

Scan LLDP

diagnose cid scan lldp <mac> <ipv4-address> <system-name> <system-description> <model>

Parameter

Description

Type

Size

<mac>

MAC address

string

<ipv4-address>

LLDP IPv4 Management address

string

<system-name>

LLDP System Name

string

<system-description>

LLDP System Description

string

<model>

LLDP Model

string

diagnose cid sigs

Control use of signatures for identification.

diagnose cid sigs

diagnose cid sigs disable

Disable use of signatures for identification.

diagnose cid sigs disable

diagnose cid sigs enable

Enable use of signatures for identification.

diagnose cid sigs enable

diagnose cid sigs reload

Force re-loading of the signatures.

diagnose cid sigs reload

diagnose cid stats

Device Identification statistics.

diagnose cid stats

diagnose cid stats config

Device Identification statistics for the configuration handling.

diagnose cid stats config

diagnose cid stats crash

Device Identification statistics for the crash log.

diagnose cid stats crash

diagnose cid stats debug

Device Identification statistics for the debug log.

diagnose cid stats debug

diagnose cid stats manager

Device Identification statistics for the manager.

diagnose cid stats manager

diagnose cid stats scan

Device Identification statistics for the traffic scanner.

diagnose cid stats scan

diagnose cid stats trap

Device Identification statistics for the SNMP trap generator.

diagnose cid stats trap

diagnose cid stats unpack

Device Identification statistics for the signature unpacker.

diagnose cid stats unpack

diagnose cid

diagnose cid

Device Identification diagnostics.

This topic includes the following commands:

diagnose cid debug

Control debug log for cid.

diagnose cid debug

diagnose cid debug filter

Show the filter for this console.

diagnose cid debug filter

diagnose cid debug filter clear

Clear the filter.

diagnose cid debug filter clear

diagnose cid debug filter clear mac

Clear the MAC filter.

diagnose cid debug filter clear mac

diagnose cid debug filter mac

Source or destination MAC address to match.

diagnose cid debug filter mac

diagnose cid debug start

Start logging cid debug on this console.

diagnose cid debug start

diagnose cid debug stop

Stop logging cid debug on this console.

diagnose cid debug stop

diagnose cid restart

Restart cid.

diagnose cid restart

diagnose cid scan

Scan something

diagnose cid scan

diagnose cid scan csf

Scan Fortinet serial number (SN) as if it came from CSF

diagnose cid scan csf <interface> <ip4-address> <serial-number>

Parameter

Description

Type

Size

<interface>

Interface the device is connected to.

string

<ip4-address>

IPv4 address of the device

string

<serial-number>

Fortinet device serial number (SN)

string

diagnose cid scan ethernet

Scan a hex-encoded ethernet packet

diagnose cid scan ethernet <hex-encoded-ethernet-packet>

Parameter

Description

Type

Size

<hex-encoded-ethernet-packet>

Hex encoded Ethernet packet.

string

diagnose cid scan forticlient

Scan a FortiClient OS/VERSION string

diagnose cid scan forticlient <mac> <ipv4-address> <os/version>

Parameter

Description

Type

Size

<mac>

MAC address of the device

string

<ipv4-address>

IPv4 address of the device

string

<os/version>

FortiClient OS/VERSION

string

diagnose cid scan lldp

Scan LLDP

diagnose cid scan lldp <mac> <ipv4-address> <system-name> <system-description> <model>

Parameter

Description

Type

Size

<mac>

MAC address

string

<ipv4-address>

LLDP IPv4 Management address

string

<system-name>

LLDP System Name

string

<system-description>

LLDP System Description

string

<model>

LLDP Model

string

diagnose cid sigs

Control use of signatures for identification.

diagnose cid sigs

diagnose cid sigs disable

Disable use of signatures for identification.

diagnose cid sigs disable

diagnose cid sigs enable

Enable use of signatures for identification.

diagnose cid sigs enable

diagnose cid sigs reload

Force re-loading of the signatures.

diagnose cid sigs reload

diagnose cid stats

Device Identification statistics.

diagnose cid stats

diagnose cid stats config

Device Identification statistics for the configuration handling.

diagnose cid stats config

diagnose cid stats crash

Device Identification statistics for the crash log.

diagnose cid stats crash

diagnose cid stats debug

Device Identification statistics for the debug log.

diagnose cid stats debug

diagnose cid stats manager

Device Identification statistics for the manager.

diagnose cid stats manager

diagnose cid stats scan

Device Identification statistics for the traffic scanner.

diagnose cid stats scan

diagnose cid stats trap

Device Identification statistics for the SNMP trap generator.

diagnose cid stats trap

diagnose cid stats unpack

Device Identification statistics for the signature unpacker.

diagnose cid stats unpack