Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

default-policy

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
default-policy (deny-all | permit-all);

Hierarchy Level

content_copy zoom_out_map
[edit security policies]

Description

Configure the default security policy that defines the actions the device takes on a packet that does not match any user-defined policy.

Options

deny-all—Deny all traffic. Packets are dropped. This is the default.

permit-all—Permit all traffic that does not match a policy.

Required Privilege Level

security—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 8.5.

footer-navigation