Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

packet-filter

Syntax

packet-filter packet-filter-name {action-profile (profile-name | default);destination-port (port-range | protocol-name);destination-prefix destination-prefix;interface logical-interface-name;protocol (protocol-number | protocol-name;source-port (port-range | protocol- name);source-prefix source-prefix;}

Hierarchy Level

[edit security datapath-debug]

Release Information

Command introduced in Junos OS Release 9.6 ; Support for IPv6 addresses for the destination-prefix and source-prefix options added in Junos OS Release 10.4.

Support for IPv6 filter for the interface option added in Junos OS Release 10.4.

Description

Set packet filter for taking the datapath-debug action. A maximum of four filters are supported at the same time.

Options

  • action-profile (profile-name | default)— Identify the action profile to use. You can specify the name of the action profile to use or select default action profile.
  • destination-port (port-range | protocol name)— Specify a destination port to match TCP/UDP destination port.
  • destination-prefix destination-prefix— Specify a destination IPv4/IPv6 address prefix.
  • interface logical-interface-name— Specify a logical interface name.
  • protocol (protocol-number | protocol-name— Match IP protocol type.
  • source-port (port-range | protocol-name— Match TCP/UDP source port.
  • source-prefix source-prefix— Specify a source IP address prefix.

Required Privilege Level

security—To view this statement in the configuration

security-control—To add this statement to the configuration.

Published: 2015-02-25

Published: 2015-02-25