Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

default-policy

Syntax

Hierarchy Level

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.