matchport

Checks whether the port value of the field is included in the specific port group and outputs the result.

Syntax

matchport [OPTIONS] field=FIELD guid=PORTS_GUID
Required Parameters
field=FIELD
Target field name. The value of the target field must be a 32-bit integer, and any other key value is considered a search failure.
guid=PORTS_GUID
GUID of port group
Optional Parameters
invert=BOOL
Option to invert the result of matching the value specified by the field option against the port group (default: f)
  • t: Returns the result only when the port number of the target field is not included in the port group.
  • f: Returns the result only when the port number of the target field is included in the port group.
verify=f
Option to activate the validation for the port group at the query parsing stage (default: t).
  • t: validates the port group at the query parsing stage.
  • f: NOT validate the port group at the query parsing stage. This option prevents the system from issuing syntax errors at the policy synchronization stage.