Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

block site

Can you help on how to block social site for a number of hours ex. From 8 to 12 and 1 to 6

Thanks

Cris

Sent from Cisco Technical Support iPhone App

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

block site

Hi,

Can you try this.

time-range BUSINESS

periodic weekdays 8:00 to 11:59

periodic weekdays 13:00 to 17:59

access-list 101 deny tcp any any eq 80 time-range BUSINESS

access-list 101 deny tcp an any eq 443 time-range BUSINESS

class-map match-all  FACEBOOK

match protocol http host *facebook*

match ip address 101

policy-map FACEBOOK

class FACEBOOK

  drop

int f0/0

service-policy input FACEBOOK

Regards.

Alain.

Don't forget to rate helpful posts.
1 REPLY
Purple

block site

Hi,

Can you try this.

time-range BUSINESS

periodic weekdays 8:00 to 11:59

periodic weekdays 13:00 to 17:59

access-list 101 deny tcp any any eq 80 time-range BUSINESS

access-list 101 deny tcp an any eq 443 time-range BUSINESS

class-map match-all  FACEBOOK

match protocol http host *facebook*

match ip address 101

policy-map FACEBOOK

class FACEBOOK

  drop

int f0/0

service-policy input FACEBOOK

Regards.

Alain.

Don't forget to rate helpful posts.
184
Views
0
Helpful
1
Replies