Time-Based QoS Policies


The first step is to create a time-range in global configuration mode.

First give the time range a name:
time-range time-range-name

then configure the time range, either in absolute terms or
relative terms:
absolute [start time date] [end time date]

or

periodic days-of-the-week hh:mm to [days-of-the-week] hh:mm

Example:

R1(config)#time-range Shaping_Time
R1(config-time-range)#periodic daily 08:00 to 16:00
R1(config-time-range)#exit

This creates a time-shape which would be true between 8am and 4pm.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Next you need to create an ACL which matches the traffic requried and add
the time-range to the end.

Example:

R1(config)#ip access-list extended match_any
R1(config-ext-nacl)#permit ip any any time-range Shaping_Time

This simple ACL matches all IP traffic between the time range defined by the time-range Shaping_Time.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Last, use the match ip access-group statement within the class map to match the specified traffic within the time frame.

Example:

R1(config)#class-map R1_shaping
R1(config-cmap)#match access-group name match_any
R1(config-cmap)#exit

This will now match all IP traffic within the time frame specified.  The class-map can now be used within a policy-map.

  1. No comments yet.
(will not be published)

  1. No trackbacks yet.