Clearing Sessions for SRX Series Services Gateways
You can use the clear command to terminate sessions. You can clear all sessions, including sessions of a particular application type, sessions that use a specific destination port, sessions that use a specific interface or port, sessions that use a certain IP protocol, sessions that match a source prefix, and resource manager sessions.
- Terminating Sessions for SRX Series Services Gateways
- Terminating a Specific Session for SRX Series Services Gateways
- Using Filters to Specify the Sessions to Be Terminated for SRX Series Services Gateways
Terminating Sessions for SRX Series Services Gateways
You can use the following command to terminate all sessions except tunnel and resource manager sessions. The command output shows the number of sessions cleared. Be aware that this command terminates the management session through which the clear command is issued.
Terminating a Specific Session for SRX Series Services Gateways
You can use the following command to terminate the session whose session ID you specify.
Using Filters to Specify the Sessions to Be Terminated for SRX Series Services Gateways
You can terminate one or more sessions based on the filter parameter you specify for the clear command. The following example uses the protocol as a filter.
Related Topics
- JUNOS Software Feature Support Reference for SRX Series and J Series Devices
- Understanding How to Obtain Session Information for SRX Series Services Gateways