[an error occurred while processing this directive] [an error occurred while processing this directive]

Example 2: Configuring Access Privileges for Individual Configuration Mode Commands

The following example shows how to configure permissions for individual configuration mode commands:

[edit]
system {
login {
# This login class has operator privileges and the additional ability to issue
# commands at the system services hierarchy level.
class only-system-services {
permissions [ configure ];
allow-configuration "system services";
}
# This login class has operator privileges but cannot issue any system
# services commands.
class all-except-system-services {
permissions [ all ];
deny-configuration "system services";
}
}
}

Published: 2009-07-15

[an error occurred while processing this directive]