Solved

Time-Range

Posted on 2013-06-05
6
159 Views
Last Modified: 2013-07-10
Hi experts,

I created a policy-map to block some websites and it works well, and I created a time-range for every day start from 8 to 4, but I don't know how to include this time range in my policy-map.

Thanks
0
Comment
Question by:lexmark1
  • 4
  • 2
6 Comments
 
LVL 63

Expert Comment

by:btan
ID: 39225307
0
 

Author Comment

by:lexmark1
ID: 39225533
Hi Dear,
Thanks for reply but I want to include my time-range in my existing class-policy to do time for website blocking not time for web surfing.

Thanks
0
 
LVL 63

Assisted Solution

by:btan
btan earned 500 total points
ID: 39225628
Would it be simply be done in access list instead
uration

ip access-list extended RESTRICTED_SITES

deny ip 172.16.30.0 0.0.0.127 66.220.144.0 0.0.15.255 time-range OFFICE_HRS
deny ip 172.16.30.0 0.0.0.127 204.74.64.0 0.0.63.255 time-range OFFICE_HRS
deny ip 172.16.30.0 0.0.0.127 69.63.176.0 0.0.15.255 time-range OFFICE_HRS
deny ip 172.16.30.0 0.0.0.127 69.171.224.0 0.0.31.255 time-range OFFICE_HRS
permit ip any any
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 63

Expert Comment

by:btan
ID: 39225669
Probably this is a better one
https://supportforums.cisco.com/thread/2070269
0
 

Author Comment

by:lexmark1
ID: 39268093
Hi breadtan,

Is there any way to apply time-range in my exist class-map without accees-list?

Thanks
0
 
LVL 63

Accepted Solution

by:
btan earned 500 total points
ID: 39269037
so far time-range need access-list  (in base licence)

http://www.cisco.com/en/US/products/sw/secursw/ps1018/products_tech_note09186a00800a5b9a.shtml#timebasedtimerange

Time-Based ACLs Using Time Ranges

Time-based ACLs were introduced in Cisco IOS Software Release 12.0.1.T. While similar to extended ACLs in function, they allow for access control based on time. A time range is created that defines specific times of the day and week in order to implement time-based ACLs. The time range is identified by a name and then referenced by a function. Therefore, the time restrictions are imposed on the function itself. The time range relies on the router system clock. The router clock can be used, but the feature works best with Network Time Protocol (NTP) synchronization.

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_19_ea1/configuration/guide/swacl.html#wp1071539
http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/acl_objects.html#wp1525991
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Login to computer through Admin Priviligies 9 102
Replace a Juniper Networks SRX240 3 77
Do we do penetration & VA scans against SOC EVM event collector 5 108
md5 password 3 74
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question