Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

monitor security packet-drop

Syntax

Description

Displays the packet-drop information without committing the configuration, which allows you to trace and monitor the traffic flow. This command output is displayed on the screen until you press Ctrl+c or until the security device collects the requested number of packet drops. The command includes various filters to generate the output fields per your requirement.

You can save the packet pocket records to a file using the monitor security packet-drop | append /var/log/filename.log command.

Options

source-prefix

Display the packet drop information for the given source IP or source prefix address.

destination-prefix Display the packet drop information for the given destination IP or source prefix address.
source-port Display the packet drop information for the given source port.
destination-port Display the packet drop information for the given destination port.
ingress-interface-name Display the packet drop information for the given ingress interface address.
protocol Display the packet drop information for the given protocol number.
logical-system-name Display the packet drop information for the logical system name.
count-number Display the packet drop information for the given count.

Range: 1 thru 8000

Default: 50

Required Privilege Level

view

Sample Output

monitor security packet-drop

When configuration is set to default IDP security policy, using the command set security idp idp-policy IDP_Default rulebase-ips rule 1 then action drop-packet, the following type of output is displayed for monitor security packet-drop command.

When configuration is set to drop connection action, the following type of output is displayed for monitor security packet-drop command.

Output for packet drops independent of IPS policies.

Output for packet drops dependent on IPS policies.

monitor security packet-drop with filters

monitor security packet-drop count 2

monitor security packet-drop | append /var/log/abcd.log

show log abcd.log

Release Information

Command introduced in Junos OS Release 21.1R1.

Signature added to packet drop reason in Junos OS Release 21.2R2.