time-rule days [sunday|monday|tuesday|wednesday|thursday|friday|saturday|all| weekends|weekdays] {start-time <HH:MM> [end-time <HH:MM>]}
time-rule days [sunday|monday|tuesday|wednesday|thursday|friday|saturday|all| weekends|weekdays] {start-time <HH:MM> [end-time <HH:MM>]}
time-rule | Configures a time rule in days and hours and minutes A schedule policy can have more than one non-overlapping time-rules. The following time-rules, having overlapping time periods, are invalid: ‘weekdays, start-time 9:30 am, end-time 11:30 pm‘ and ‘all, start-time 12:00 am, end-time 12:00 pm‘. |
days [sunday|monday| tuesday|wednesday|thursday|friday| saturday|all| weekends| weekdays] | Specifies the days on which the time rule is applicable
|
start-time <HH:MM> [end-time <HH:MM>] | After specifying the days of enforcement, specify the following:
If no start time is specified, the time rule is enforced, on the specified
days, at all time.
|
nx9500-6C8809(config-schedule-policy-test)#time-rule days weekdays start-time 10:00 end-time 23:30
nx9500-6C8809(config-schedule-policy-test)#show context schedule-policy test description "Denies social networking sites on weekdays." time-rule days weekdays start-time 10:00 end-time 23:30 nx9500-6C8809(config-schedule-policy-test)#
no (schedule-policy-config-mode-commands) | Removes the time-rule from the schedule policy |