CONFIG OBJECT SEARCH

Level

base

History

appears in 5.1.0

Description

Search objects containing the given value included in the given fields

Usage

[type=<all|[host][,range][,network][,group]>] pattern=<pattern> field=ip [usage=<off|used|unused|any>] [global=0|1] [start=<int> [limit=<int>] [dir=<ASC|DESC>] [sort=<token>] [refresh=<0|1>] [addr_type=<unicast|multicast|broadcast>]]

Returns

[Object]
type=host global=<0|1> modify=<0|1> comment=<comment> name=<hostname> ip=<ip> ipv6=<ipv6> resolve=<static|dynamic>
type=range global=<0|1> modify=<0|1> comment=<comment> name=<rangename> begin=<firstip> end=<lastip> beginv6=<firstipv6> endv6=<lastipv6>
type=network global=<0|1> modify=<0|1> comment=<comment> name=<rangename> ip=<ip> mask=<netmask> prefixlen=<ipv4 prefix len> ipv6=<ipv6> prefixlenv6=<ipv6 prefix len>
type=group global=<0|1> modify=<0|1> comment=<comment> name=<groupname>
...

Format

section_line

Example

CONFIG OBJECT SEARCH type=host,range field=ip pattern=10.0.0.12
[Object]
type=host modify=1 global=0 comment="" name=mycomputer ip=10.0.0.12 resolve=static comment=""
type="range" global=0 name="dhcp_range" begin="10.0.0.10" end="10.0.0.50" modify=1 comment=""

Cache category

objects