Defining and configuring the asset discovery scanner
By default your master relay (or the first-level relay that was first installed) is automatically defined as the asset discovery scanner. But you can also define any other device on which the CM agent is already installed as your scanner. If you want to proceed with your current scanner you can skip this topic and continue with either Creating-and-running-an-automatic-asset-discovery-scan-of-the-main-scanner-s-subnet or Configuring-and-running-an-asset-discovery-scan-of-a-specific-part-of-your-network if you need to define a scan with specific parameters. Otherwise proceed as follows:
- Select the Asset Discovery node and then go to the Scanners node in the left window pane.
- Click Edit > Add Device
.
The Add a Scanner pop-up menu displays displaying the list of all devices that can be a scanner due to their operating system. - Select the device to be added from one of the list boxes.
- Click OK to confirm and close the window.
The device is added to the list of available scanners and its configuration parameter is updated.
To configure the asset discovery scanner
If you work in a large organization where you need to scan a large number of devices, you should configure the scanner by setting the TcpTimedWaitDelay and MaxUserPort parameters.
To set TcpTimedWaitDelay (TIME_WAIT):
- Use the regedit command to access the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\TCPIP\Parameters registry subkey.
- Create a new REG_DWORD value named TcpTimedWaitDelay.
- Set the value to 60.
- Stop and restart the system.
To set MaxUserPort (ephemeral port range):
- Use the regedit command to access the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\TCPIP\Parameters registry subkey.
- Create a new REG_DWORD value named MaxUserPort.
- Set this value to 32768.
- Stop and restart the system.