< Home

display network-scan state

Function

The display network-scan state command displays the asset scanning task status and configuration.

Format

display network-scan state

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To understand the execution status and configuration of asset scanning tasks, run this command.

Example

# Display the status and configuration of asset scanning tasks.

<sysname> display network-scan state
  network-scan                                                                    
   status            :idle                                                       
   last scan time    :2019-3-21 14:51:50                                                                                                                 
                                                                                 
   Index       Ip                Mask                                            
   1           10.1.1.1          32                                              
  network-scan timeout per-asset 3600                                            
  network-scan timeout entire-scan 23                                            
  conflict-resolve override                                                      
  schedule enable                                                                
  schedule daily  23:00   
Table 1 Description of the display network-scan state command output

Item

Description

status

Status of an asset scanning task:

  • scanning: Assets are being scanned.
  • analysing: Asset scanning is complete, and the system is parsing the obtained information.
  • overload: The system parsing task is overloaded. In this state, the scanning task cannot be started again.
  • idle: The scanning task is complete or has not started.

last scan time

Time when the last scan started.

Index

ID of the scanned IP network segment.

Ip

Scanned IP network segment.

Mask

Subnet mask of the scanned IP network segment.

network-scan timeout per-asset

Timeout period of the scanning of a single asset. You can run the network-scan timeout command to set the timeout period.

network-scan timeout entire-scan

Timeout period of the scanning of all assets. You can run the network-scan timeout command to set the timeout period.

conflict-resolve

Solution to the conflict between the asset information obtained by proactive scanning and the asset information obtained by passive traffic learning. You can run the conflict-resolve command to set a conflict solution:
  • override: The new asset information overwrites the previous asset information.
  • keep-learn-result: The asset information obtained by proactive scanning is preferred.
  • keep-scan-result: The asset information obtained by passive traffic learning is preferred.

schedule enable

Enable scheduled asset scanning. You can run the schedule enable command to enable this function.

schedule daily

Time at which assets are scanned every day. You can run the schedule daily command to set the schedule.

schedule weekly

Time at which assets are scanned every week. You can run the schedule weekly command to set the schedule.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >