CONFIG OBJECT SERVICE NEW

Level

object+modify

History

Appears in 6.0.0
Removed plugin attribute in 9.0.0

Description

Add service object

Usage

name=<servicename> port=<port number> proto=<tcp|udp|any> [toport=<porthigh>] [color=xxxxxx] [comment=<comment>] [update=<0|1|2>]

Remark

without update parameter, command will return an error if an object with the same name exists.
With update=2, modules which use the object are not reloaded.

Example

CONFIG OBJECT SERVICE NEW name=dns port=53 proto=tcp comment="DNS service" CACHE_CATEGORY objects