CONFIG GLOBAL OBJECT GET

Level

base

History

Appears in Netasq 9.0.0
fqdn appears in 3.0.0

Description

Return a unique global object from its name

Usage

type=<host|range|fqdn|network|group|protocol|time|service|servicegroup> name=<objname>

Returns

Return one line with the global object properties:
[Object]
type=host modify=<0|1> global=<0|1> comment=<comment> name=<hostname> ip=<ip> ipv6=<ipv6> resolve=<static|dynamic>
type=range modify=<0|1> global=<0|1> comment=<comment> name=<rangename> begin=<firstip> end=<lastip> beginv6=<firstipv6> endv6=<lastipv6>
type=network modify=<0|1> global=<0|1> comment=<comment> name=<rangename> ip=<ip> mask=<netmask> prefixlen=<ipv4 prefix len> ipv6=<ipv6> prefixlenv6=<ipv6 prefix len>
type=protocol modify=<0|1> global=<0|1> comment=<comment> name=<protocolname> protonumber=<ip protocol number>
type=service modify=<0|1> global=<0|1> comment=<comment> name=<servicename> port=<port> toport=<""|lastport> proto=<protocolname>
type=time modify=<0|1> global=<0|1> comment=<comment> name=<timename> time=<time> weekday=<weekdays> yearday=<yearday> date=<date>
type=group modify=<0|1> global=<0|1> comment=<comment> name=<groupname>
type=servicegroup modify=<0|1> global=<0|1> comment=<comment> name=<groupname>
...

Format

section_line

Example

config global object get type=host name=mycomputer
[Object]
type=host modify=1 global=1 comment="" name=mycomputer ip=10.0.0.0 ipv6=fe80::1 resolve=static

Cache category

objects