{"id":85,"date":"2026-08-06T18:49:24","date_gmt":"2026-08-06T18:49:24","guid":{"rendered":"https:\/\/mrnetwork.nl\/index.php\/time-based-acl-cisco-ios-2\/"},"modified":"2026-08-06T20:00:05","modified_gmt":"2026-08-06T20:00:05","slug":"time-based-acl-cisco-ios-2","status":"publish","type":"page","link":"https:\/\/mrnetwork.nl\/index.php\/time-based-acl-cisco-ios-2\/","title":{"rendered":"Time-based ACL Cisco IOS"},"content":{"rendered":"<p><a href=\"\/\" class=\"back-link\">Terug naar home<\/a><\/p>\n<h1>Time-based ACL Cisco IOS<\/h1>\n<div class=\"paragraph\">I was searching for a time-based rate limiting is to use the time range command built into IOS. In this case, I want to define the time range from 9 AM to 9 PM:<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL<\/p>\n<ul class=\"shell-body\">\n<li>time-range DAILY-0900-2100  <\/li>\n<li>periodic daily 7:00 to 21:00      <\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"paragraph\">Next, we need our access lists:<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL<\/p>\n<ul class=\"shell-body\">\n<li>ip access-list extended ACL-0900-2100<\/li>\n<li> permit ip any any time-range DAILY-0900-2100   <\/li>\n<li>ip access-list extended ACL_ALL_HOURS           <\/li>\n<li> permit ip any any <\/ul>\n<\/div>\n<\/div>\n<div class=\"paragraph\">And now our class maps to define which traffic to match:<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL<\/p>\n<ul class=\"shell-body\">\n<li>class-map match-all 256K<\/li>\n<li> match access-group name ACL-0900-2100  <\/li>\n<li>class-map match-all 1M                  <\/li>\n<li> match access-group name ACL_ALL_HOURS  <\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"paragraph\">And finally, our policy map:<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL<\/p>\n<ul class=\"shell-body\">\n<li>policy-map POLICY-IN<\/li>\n<li> class 256K                                 <\/li>\n<li>  police 256000 8000 exceed-action drop     <\/li>\n<li> class 1M                                   <\/li>\n<li>  police 1000000 12500 exceed-action drop   <\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"paragraph\">Put it all together, and it looks like this:<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL<\/p>\n<ul class=\"shell-body\">\n<li>time-range DAILY-0900-2100<\/li>\n<li> periodic daily 7:00 to 21:00                   <\/li>\n<li>!                                               <\/li>\n<li>ip access-list extended ACL-0900-2100           <\/li>\n<li> permit ip any any time-range DAILY-0900-2100   <\/li>\n<li>ip access-list extended ACL_ALL_HOURS           <\/li>\n<li> permit ip any any                              <\/li>\n<li>!                                               <\/li>\n<li>class-map match-all 256K                        <\/li>\n<li> match access-group name ACL-0900-2100          <\/li>\n<li>class-map match-all 1M                          <\/li>\n<li> match access-group name ACL_ALL_HOURS          <\/li>\n<li>!                                               <\/li>\n<li>policy-map POLICY-IN                            <\/li>\n<li> class 256K                                     <\/li>\n<li>  police 256000 8000 exceed-action drop         <\/li>\n<li> class 1M                                       <\/li>\n<li>  police 1000000 12500 exceed-action drop       <\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Terug naar home Time-based ACL Cisco IOS I was searching for a time-based rate limiting is to use the time range command built into IOS. In this case, I want to define the time range from 9 AM to 9 PM: TERMINAL time-range DAILY-0900-2100 periodic daily 7:00 to 21:00 Next, we need our access lists: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"blank","meta":{"footnotes":""},"class_list":["post-85","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":5,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/85\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/85\/revisions\/189"}],"wp:attachment":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/media?parent=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}