Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Examples: Configuring Time-Based User Access

The following example shows how to configure user access for the operator-round-the-clock-access login class from Monday through Friday without any restriction on access time or duration of login:

[edit system]login {class operator-round-the-clock-access {allowed-days [ monday tuesday wednesday thursday friday ];}

The following example shows how to configure user access for the operator-day-shift login class on Monday, Wednesday, and Friday from 8:30 AM to 4:30 PM:

[edit system]login {class operator-day-shift {allowed-days [ monday wednesday friday ];access-start 0830;access-end 1630;}}

Alternatively, you can also specify the login start time and end time for the operator-day-shift login class to be from 8:30 AM to 4:30 PM in the following format:

[edit system]login {class operator-day-shift {allowed-days [ monday wednesday friday ];access-start 08:30am;access-end 04:30pm;}}

The following example shows how to configure user access for the operator-day-shift-all-days-of-the-week login class to be on all days of the week from 8:30 AM to 4:30 PM:

[edit system]login {class operator-day-shift-all-days-of-the-week {access-start 0830;access-end 1630;}}

Published: 2012-07-03

Supported Platforms

Published: 2012-07-03