The service command configures the name of the service used by an asset.
The undo service command deletes the service name from an asset.
service service-name
undo service service-name
# 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