Technical Documentation



deny-configuration "regular-expression";

Hierarchy Level

[edit system login class]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Specify the configuration mode commands that the user is denied permission to issue even though the permissions set with the permissions statement would allow it.


If you omit this statement and the allow-configuration statement, users can issue only those commands for which they have access privileges through the permissions statement.


regular-expression—Extended (modern) regular expression as defined in POSIX 1003.2. If the regular expression contains any spaces, operators, or wildcard characters, enclose it in quotation marks.

Required Privilege Level

admin—To view this statement in the configuration.

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

Published: 2010-04-26