Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

allow-commands

Syntax

allow-commands "regular-expression";

Hierarchy Level

[edit system login class class-name]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Specify the operational mode commands that members of a login class can use.

Default

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

Options

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: 2013-02-22