clear security flow session source-prefix

Syntax

clear security flow session source-prefix source-prefix-number <node ( node-id | all | local | primary)>

Release Information

Command introduced in Release 8.5 of Junos OS.

The node options added in Release 9.0 of Junos OS.

Support for IPv6 addresses added in Release 10.2 of Junos OS.

Description

Clear sessions that match the source prefix.

Options

source-prefix-number—Source IP prefix or address.

node—(Optional) For chassis cluster configurations, clear security sessions matching the source prefix on a specific node (device) in the cluster.

Required Privilege Level

clear

Related Topics

show security flow session source-prefix

List of Sample Output

clear security flow session source-prefix 100.0.0.1
clear security flow session source-prefix 10::10
clear security flow session source-prefix 100.0.0.1 node 0

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear security flow session source-prefix 100.0.0.1

user@host> clear security flow session source-prefix 100.0.0.1
node0:
--------------------------------------------------------------------------
0 active sessions cleared
node1:
--------------------------------------------------------------------------
0 active sessions cleared

clear security flow session source-prefix 10::10

user@host> clear security flow session source-prefix 10::10
1 active sessions cleared

Sample Output

clear security flow session source-prefix 100.0.0.1 node 0

user@host> clear security flow session source-prefix 100.0.0.1 node 0
node0:
--------------------------------------------------------------------------
0 active sessions cleared