cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
389
Views
0
Helpful
1
Replies

block site

cmantazo30
Level 1
Level 1

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

cadet alain
VIP Alumni
VIP Alumni

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.

View solution in original post

1 Reply 1

cadet alain
VIP Alumni
VIP Alumni

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.
Review Cisco Networking products for a $25 gift card