execute : set system session filter
 
set system session filter
Use these commands to define the session filter for get system session commands.
Syntax
To clear the filter settings
execute set system session filter clear {all|dport|dst|duration|expire|policy|proto|sport|src|vd}
To specify destination port
execute set system session filter dport <port_range>
To specify destination IP address
execute set system session filter dst <ip_range>
To specify duration
execute set system session filter duration <duration_range>
To specify expiry
execute set system session filter expire <expire_range>
To list the filter settings
execute set system session filter list
To invert a filter setting
execute set system session filter negate {dport|dst|duration|expire|policy|proto|sport|src|vd}
To specify firewall policy ID
execute set system session filter policy <policy_range>
To specify protocol
execute set system session filter proto <protocol_range>
To specify source port
execute set system session filter sport <port_range>
To specify source IP address
execute set system session filter src <ip_range>
To specify virtual domain
execute set system session filter vd <vdom_index>
 
Variable
Description
<duration_range>
The start and end times, separated by a space.
<expire_range>
The start and end times, separated by a space.
<ip_range>
The start and end IP addresses, separated by a space.
<policy_range>
The start and end policy numbers, separated by a space.
<port_range>
The start and end port numbers, separated by a space.
<protocol_range>
The start and end protocol numbers, separated by a space.
<vdom_index>
The VDOM index number. -1 means all VDOMs.