Creates a deny rule and configures the match criteria based on which packets are filtered and the deny access action applied
Access Points — AP-7522, AP 7532
Service Platforms — NX 5500, NX 7510, NX 95XX, NX 96XX, VX 9000
deny [app-category [<APP-CATEGORY-NAME>|all]|application <APPLICATION-NAME>] schedule <SCHEDULE-POLICY-NAME> (precedence <1-256>)
deny [app-category [<APP-CATEGORY-NAME>|all]|application <APPLICATION-NAME>] schedule <SCHEDULE-POLICY-NAME> (precedence <1-256>)
|
The following example shows one deny rule, denying access to all packets belonging to the application category ‘social\ networking‘:
nx9500-6C8809(config-app-policy-Bing)#deny app-category social\ networking precedence 3
nx9500-6C8809(config-app-policy-Bing)#show context
application-policy Bing
allow application Bing precedence 1
allow app-category business precedence 2
deny app-category "social networking" precedence 3
nx9500-6C8809(config-app-policy-Bing)#
The following example displays the schedule policy ‘DenyS-N‘ settings. The time-rule defined in the policy is all weekdays from 9:30 AM to 11:30 PM.
nx9500-6C8809(config-schedule-policy-DenyS-N)#show context schedule-policy DenyS-N description "Denies all social Networking sites on weekdays." time-rule days weekdays start-time 09:30 end-time 23:30 nx9500-6C8809(config-schedule-policy-DenyS-N)#
The following example displays the schedule policy ‘FaceBook‘ settings. The time-rule defined in the policy is Friday from 1:00 PM to 6:00 PM.
nx9500-6C8809(config-schedule-policy-FaceBook)#show context schedule-policy FaceBook description "Allows FaceBook traffic on Fridays." time-rule days friday start-time 13:00 end-time 18:00 nx9500-6C8809(config-schedule-policy-FaceBook)#
nx9500-6C8809(config-app-policy-SocialNet)#show context application-policy SocialNet description "This application policy relates to Social Networking sites." allow application facebook schedule FaceBook precedence 1 deny app-category "social networking" schedule DenyS-N precedence 2 nx9500-6C8809(config-app-policy-SocialNet)#
|