Configures an enforcement time period in days and hours for this application policy. The enforcement time is applicable only to those rules, within the application policy, that do not have a schedule policy associated. By default an application policy is enforced on all days.
Note
Schedule policies are a means of enforcing allow/deny/mark/rate-limit rules at different time periods. If no schedule policy is applied, all rules within an application policy are enforced at the time specified using this enforcement-time command. For more information on configuring a schedule policy, see schedule-policy.Access Points — AP-7522, AP 7532
Service Platforms — NX 5500, NX 7510, NX 95XX, NX 96XX, VX 9000
enforcement-time days [sunday|monday|tuesday|wednesday|thursday|friday|saturday|all|weekends|weekdays] {start-time <HH:MM> end-time <HH:MM>}
enforcement-time days [sunday|monday|tuesday|wednesday|thursday|friday|saturday|all| weekends|weekdays] {start-time <HH:MM> end-time <HH:MM>}
|
nx9500-6C8809(config-app-policy-Bing)#enforcement-time days weekdays start-time 10:30 end-time 20:00
nx9500-6C8809(config-app-policy-Bing)#show context application-policy Bing description "This application policy allows Bing search engine packets" enforcement-time days weekdays start-time 10:30 end-time 20:00 allow application Bing precedence 1 allow app-category business precedence 2 deny app-category "social networking" precedence 3 nx9500-6C8809(config-app-policy-Bing)#
|