Fortinet black logo

Administration Guide

Discover devices

Copy Link
Copy Doc ID 825689eb-200d-11e9-b6f6-f8bc1258b856:665087
Download PDF

Discover devices

FortiNAC can search the network based on IP ranges and determine what SNMP enabled devices exist on the network. Once a device is discovered, FortiNAC creates a model for the device in the database and places the device in the Network Devices list.

FortiNAC receives traps and communicates with devices through SNMPv1, SNMPv2, and SNMPv3.

When the Use CDP option on the Discovery window is enabled, FortiNAC queries devices about other connected devices on the network. If a device has this discovery protocol enabled it gathers and stores information about devices it manages and devices it can contact on the network. Enabling the Cisco Discovery Protocol (CDP) when adding search criteria for Discovery allows FortiNAC to query devices for information about those secondary devices. For example, FortiNAC can query a device and discover routers and switches connected to the original device. FortiNAC can then query those secondary devices and so on, until the edge of the network is reached. Only devices with CDP enabled will respond to a CDP query.

When a discovery process is started for a particular container, the status of that process is displayed in the Containers view. Click the Refresh button on the Containers view to update the status periodically.

Note

If your device has multiple interfaces, each with a different IP Address that is configured with its own SNMP settings, multiple representations of the same device will be added to FortiNAC. FortiNAC does not consolidate the duplicates in this case.

Note

When configuring the device itself, use only letters, numbers and hyphens (-) in names for items within the device configuration, in security strings and in SNMP credentials. Other characters may prevent FortiNAC from reading the device configuration. For example, in many cases the # sign is interpreted by FortiNAC as a prompt. Cisco restricts the use of @ and #.

Discovery can be started by navigating to Containers:

  • Network Devices > Topology > Customer Icon > Containers
  1. Select a Container that will be populated by the discovery process.
  2. Click Start Discovery in the Containers panel.
  3. The Discovery Settings window displays.
  4. If you would like to search for devices using the Cisco Discovery Protocol, click the Use CDP check box to enable it.
  5. On the IP Range tab, click Add.
  6. Enter the Starting and Ending IP Addresses of the range to be queried for new devices. If you selected Use CDP, only the starting IP Address is required.

    Note

    If you have an extensive network and you plan to enable Use CDP, it is recommended that you limit the number of levels queried beyond the initial device. In large networks, discovery can take an extended amount of time and may cause delays. For information on limiting the depth of the CDP discovery see Network device.

  7. Add all of the IP Ranges required.
  8. Click Next or click the SNMP Credentials tab.

  9. Under SNMPv1 Security Strings, enter the read/write security strings to use when communicating with the discovered devices. Click Add to add a security string. Select a security string and click Delete to remove it from the list.
  10. Under SNMPv3 Credentials, click Add to enter the settings to use when communicating with the discovered devices.

    Settings

    Field

    Definition

    SNMP Protocol

    Available options are AuthPriv or AuthNo Priv.

    User Name

    User Name for access to the device. Recommended but not required.

    Authentication Protocol

    Available options are:

    MD5

    SHA1 (Recommended)

    Authentication
    Password

    Specify password to match what the device is using.

    Privacy Protocol

    Available options are:

    DES

    AES-128 (Recommended)

    Privacy Password

    Specify password to match what the device is using.

    Note

    If the device is configured for AuthPriv, the Authentication password, Privacy Protocol and Privacy password are required. If the device is configured for AuthNoPriv, only the Authentication password is required.

  11. Click Next or click the CLI Credentials tab.
  12. Click Add to enter CLI Credentials for managing discovered devices.

    Note

    The user account must have the appropriate permissions configured on the device.

    CLI Settings

    Field

    Definition

    User Name

    The user name used to log on to the device for configuration. This is for CLI access.

    Note

    For devices using API credentials, enter the serial number for the appliance.

    Password

    The password required to configure the device. This is for CLI access.

    Note

    For devices using API credentials, enter the REST API Key.

    Enable Password

    The enable password for the device. This is for CLI access. Depending on the configuration, you may not need both the password and the enable password.

    Protocol Type

    Use Telnet, SSH1 or SSH2 to logon to the device for configuration.

  13. Click OK to start the discovery process. The process runs in the background.

    The status of a discovery task is displayed in the Devices header.

  14. Click Cancel Discovery to cancel the discovery process.

Discover devices

FortiNAC can search the network based on IP ranges and determine what SNMP enabled devices exist on the network. Once a device is discovered, FortiNAC creates a model for the device in the database and places the device in the Network Devices list.

FortiNAC receives traps and communicates with devices through SNMPv1, SNMPv2, and SNMPv3.

When the Use CDP option on the Discovery window is enabled, FortiNAC queries devices about other connected devices on the network. If a device has this discovery protocol enabled it gathers and stores information about devices it manages and devices it can contact on the network. Enabling the Cisco Discovery Protocol (CDP) when adding search criteria for Discovery allows FortiNAC to query devices for information about those secondary devices. For example, FortiNAC can query a device and discover routers and switches connected to the original device. FortiNAC can then query those secondary devices and so on, until the edge of the network is reached. Only devices with CDP enabled will respond to a CDP query.

When a discovery process is started for a particular container, the status of that process is displayed in the Containers view. Click the Refresh button on the Containers view to update the status periodically.

Note

If your device has multiple interfaces, each with a different IP Address that is configured with its own SNMP settings, multiple representations of the same device will be added to FortiNAC. FortiNAC does not consolidate the duplicates in this case.

Note

When configuring the device itself, use only letters, numbers and hyphens (-) in names for items within the device configuration, in security strings and in SNMP credentials. Other characters may prevent FortiNAC from reading the device configuration. For example, in many cases the # sign is interpreted by FortiNAC as a prompt. Cisco restricts the use of @ and #.

Discovery can be started by navigating to Containers:

  • Network Devices > Topology > Customer Icon > Containers
  1. Select a Container that will be populated by the discovery process.
  2. Click Start Discovery in the Containers panel.
  3. The Discovery Settings window displays.
  4. If you would like to search for devices using the Cisco Discovery Protocol, click the Use CDP check box to enable it.
  5. On the IP Range tab, click Add.
  6. Enter the Starting and Ending IP Addresses of the range to be queried for new devices. If you selected Use CDP, only the starting IP Address is required.

    Note

    If you have an extensive network and you plan to enable Use CDP, it is recommended that you limit the number of levels queried beyond the initial device. In large networks, discovery can take an extended amount of time and may cause delays. For information on limiting the depth of the CDP discovery see Network device.

  7. Add all of the IP Ranges required.
  8. Click Next or click the SNMP Credentials tab.

  9. Under SNMPv1 Security Strings, enter the read/write security strings to use when communicating with the discovered devices. Click Add to add a security string. Select a security string and click Delete to remove it from the list.
  10. Under SNMPv3 Credentials, click Add to enter the settings to use when communicating with the discovered devices.

    Settings

    Field

    Definition

    SNMP Protocol

    Available options are AuthPriv or AuthNo Priv.

    User Name

    User Name for access to the device. Recommended but not required.

    Authentication Protocol

    Available options are:

    MD5

    SHA1 (Recommended)

    Authentication
    Password

    Specify password to match what the device is using.

    Privacy Protocol

    Available options are:

    DES

    AES-128 (Recommended)

    Privacy Password

    Specify password to match what the device is using.

    Note

    If the device is configured for AuthPriv, the Authentication password, Privacy Protocol and Privacy password are required. If the device is configured for AuthNoPriv, only the Authentication password is required.

  11. Click Next or click the CLI Credentials tab.
  12. Click Add to enter CLI Credentials for managing discovered devices.

    Note

    The user account must have the appropriate permissions configured on the device.

    CLI Settings

    Field

    Definition

    User Name

    The user name used to log on to the device for configuration. This is for CLI access.

    Note

    For devices using API credentials, enter the serial number for the appliance.

    Password

    The password required to configure the device. This is for CLI access.

    Note

    For devices using API credentials, enter the REST API Key.

    Enable Password

    The enable password for the device. This is for CLI access. Depending on the configuration, you may not need both the password and the enable password.

    Protocol Type

    Use Telnet, SSH1 or SSH2 to logon to the device for configuration.

  13. Click OK to start the discovery process. The process runs in the background.

    The status of a discovery task is displayed in the Devices header.

  14. Click Cancel Discovery to cancel the discovery process.