< Home

service (asset view)

Function

The service command configures the name of the service used by an asset.

The undo service command deletes the service name from an asset.

Format

service service-name

undo service service-name

Parameters

Parameter Description Value
service-name Specifies the service name. The value consists of http, others, tcp, telnet and udp.

Views

Asset view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure the service used by asset J0001 to tcp.

<sysname> system-view
[sysname] ssa
[sysname-ssa] asset name J0001
[sysname-ssa-asset-J0001] service tcp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >