Technical Documentation

class (Defining Login Classes)


class class-name {allow-commands "regular-expression";allow-configuration "regular-expression";deny-commands "regular-expression";deny-configuration "regular-expression";idle-timeout minutes;permissions [ permissions ]; }

Hierarchy Level

[edit system login]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Define a login class.


class-name—A name you choose for the login class.

The remaining statements are explained separately.

Required Privilege Level

admin—To view this statement in the configuration.

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

Published: 2010-04-26