< Home

os (asset view)

Function

The os command configures the operating system used by an asset.

Format

os os-type [ version os-version ]

Parameters

Parameter Description Value

os-type

Specifies the name of the operating system.

The value can be:

  • Android
  • Linux
  • Mac-OS-X
  • OS-X
  • Windows
  • embedded
  • iOS
  • macOS
  • others: a type beyond the supported scope
  • pending: an undefined type, which is used when the FW does not identify the operating system type during asset scanning

version os-version

Specified the OS version.

The value is a string of 1 to 63 case-sensitive characters. It supports spaces, but does not support any commas (,), quotation marks ("), or question marks (?).

Views

Asset view

Default Level

2: Configuration level

Usage Guidelines

If os-type is embedded, others, or pending, os-version cannot be specified.

Example

# Configure the operating system of asset J0001 as Windows 7 Professional.

<sysname> system-view
[sysname] ssa
[sysname-ssa] asset name J0001
[sysname-ssa-asset-J0001] os Windows version 7 professional
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >