Purpose
Command or Action
•
weekdays
—Monday through Friday.
•
weekend
—Saturday through Sunday.
Creates an absolute rule that is in effect beginning at the
time and date specified after the
start
keyword. If you
(Optional) [
sequence-number
]
absolute start time date
[
end time date
]
Step 5
omit the
end
keyword, the rule is always in effect after
the start time and date have passed.
Example:
switch(config-time-range)# absolute start 1:00 15
march 2013
Creates an absolute rule that is in effect until the time and
date specified after the
end
keyword. If you omit the
start
(Optional) [
sequence-number
]
absolute
[
start time date
]
end time date
Step 6
keyword, the rule is always in effect until the end time and
date have passed.
Example:
switch(config-time-range)# absolute end 23:59:59
31 may 2013
Removes the specified rule from the time range.
(Optional)
no
{
sequence-number
|
periodic arguments . . .
|
absolute arguments. . .
}
Step 7
Example:
switch(config-time-range)# no 80
Displays the time-range configuration.
(Optional)
show time-range name
Example:
Step 8
switch(config-time-range)# show time-range
workday-daytime
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 9
switch(config-time-range)# copy running-config
startup-config
Related Topics
Changing Sequence Numbers in a Time Range
, on page 283
Removing a Time-Range
You can remove a time range from the device.
Before you begin
Ensure that you know whether the time range is used in any ACL rules. The device allows you to remove
time ranges that are used in ACL rules. Removing a time range that is in use in an ACL rule does not affect
the configuration of interfaces where you have applied the ACL. Instead, the device considers the ACL rule
using the removed time range to be empty.
SUMMARY STEPS
1.
configure terminal
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
282
Configuring IP ACLs
Removing a Time-Range