matchnet

Checks whether the IP address value of the field is included in the specified IP subnet and returns the result.

Syntax

matchnet [OPTIONS] field=TARGET_FIELD guid=NET_GUID
Required Parameters
field=FIELD
Target field name. The value of the target field must be an IPv4 address, a string, or a 32-bit integer type, and any other key value is considered a search failure. The command attempts to search only when the string and 32-bit integer type values are converted to valid IPv4 addresses.
guid=NET_GUID
GUID of IP subnet.
Optional Parameters
invert=BOOL
Option to invert the result of matching the value specified by the field option against the IP subnet (default: f)
  • t: Returns records that do not contain the value specified by the field option in the matching result.
  • f: Returns records that contain the value specified by the field option in the matching result.
verify=BOOL
Boolean option to activate the validation for the IP subnet at the query parsing stage (default: t).
  • t: validates the IP subnet at the query parsing stage.
  • f: NOT validate the IP subnet at the query parsing stage. This option prevents the system from issuing syntax errors at the policy synchronization stage.