Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All



    deny-configuration "regular-expression";

    Hierarchy Level

    [edit system login class]

    Release Information

    Statement introduced in Junos OS Release 11.1 for the QFX Series.

    Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.


    Explicitly deny configuration access to the specified levels in the hierarchy even if the permissions set with the permissions statement grant such access by default.


    If you omit this statement and the allow-configuration statement, users can edit those levels in the configuration hierarchy 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.

    Modified: 2016-12-06