matchport
Checks whether a specified port group contains the value of the port field and outputs the result.
Syntax
matchport [invert=BOOL] [port=PORT_FIELD] [protocol=PROTO_FIELD] [verify=BOOL] guid=PORTS_GUID
Required Parameter
guid=PORT_GUID
- Port group GUID
Optional Parameter
invert=BOOL
- Option to invert the output condition (default:
f
)t
: returns the result only when the value of theport
field is not included in the port group specified withguid
.f
: returns the result only when the value of theport
field is included in the port group specified withguid
.
port=PORT_FIELD
- Name of the port field (default:
port
) protocol=PROTO_FIELD
- Name of the protocol field (default:
protocol
) verify=BOOL
- 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.