< Home

network-scan timeout

Function

The network-scan timeout entire-scan command sets the timeout period for the scanning of all assets.

The network-scan timeout per-asset command sets the timeout period for the scanning of a single asset.

undo network-scan timeout command restores the default timeout period.

Format

network-scan timeout entire-scan entire-timeout

network-scan timeout per-asset per-timeout

undo network-scan timeout

Parameters

Parameter Description Value

entire-timeout

Specifies the timeout period for the scanning of all assets.

The value is an integer ranging from 1 to 23, in hours.

per-timeout

Specifies the timeout period for the scanning of a single asset.

The value is an integer ranging from 1 to 600, in seconds.

Views

Asset scanning view

Default Level

2: Configuration level

Usage Guidelines

By default, the timeout period for scanning all assets is 23 hours, and the timeout period for scanning a single asset is 180 seconds.

Application Scenarios

To prevent long-time asset scanning due to network status or asset faults, set an asset scanning timeout period. If scanning times out, the system stops scanning.

  • If the scanning period of all assets exceeds entire-timeout, the system stops scanning this asset, but directly uses the scanned information as the scanning result of the asset and continues to scan the next asset.
  • If the scanning period of a single asset exceeds per-timeout, skip this asset and continue to scan the next asset.

Precautions

The scanning time is affected by many factors, including the size of the IP address segment to be scanned, number of online hosts, type and number of services enabled on each host, and network status. Generally, retain the default value.

Modifying canning parameter settings during asset scanning is not allowed.

Example

# Set the timeout period for the scanning of all assets.

<sysname> system-view
[sysname] network-scan
[sysname-network-scan] network-scan timeout entire-scan 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >