Examples, Show time-range – Dell POWEREDGE M1000E User Manual

Page 1609

Advertising
background image

Time Ranges Commands

1605

When both periodic and absolute time entries are specified within a time

range, the periodic time entries limit the time range to only those times

specified within the periodic time range and bounded by the absolute time

range. In this case, the absolute time entry specifies the absolute start and

end dates/times and the periodic entries specify the start/stop times within

the limits of the absolute time entry dates and times.
If a periodic time entry is added to an active time-range with an existing

absolute time entry, the absolute time entry immediately becomes inactive.

For example, an administrator applies a absolute time-range configured for a

week's work hours ( 08/09-08/13 9am to 6pm) and later adds multiple

periodic entries for same days configured individually (Monday, Tuesday,

Wednesday, Thursday, Friday) but with after-work hours (9pm to 11pm) .

The administrator wants to permit/deny HTTP traffic for this time-range, but

the entire time-range is invalid due to conflicting entries. The absolute entry

is forced to inactive because the periodic entry time is not yet in effect.

Examples

console#time-range timeRange_2

console(Config-time-range)#periodic monday 00:00 to

tuesday 12:30

console(Config-time-range)#periodic tuesday 13:00 to

wednesday 12:00

console(Config-time-range)#periodic wednesday 12:30

to thursday 20:00

console(Config-time-range)#periodic weekend 18:00 to

20:00

show time-range

Use the show time-range command in Privileged EXEC mode to display a

time range and all the absolute/periodic time entries that are defined for the

time range. The [name] parameter is used to identify a specific time range to

display. When the [name] parameter is not specified, all the time ranges

defined in the system are displayed.

2CSPC4.XModular-SWUM200.book Page 1605 Thursday, March 10, 2011 11:18 AM

Advertising