DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Creates the time range and enters time-range configuration
mode.
time-range name
Example:
Step 2
switch(config)# time-range workday-daytime
switch(config-time-range)#
Creates a periodic rule that is in effect for one or more
contiguous days between and including the specified start
and end days and times.
(Optional) [sequence-number] periodic weekday time to
[weekday] time
Example:
Step 3
switch(config-time-range)# periodic monday 00:00:00
to friday 23:59:59
Creates a periodic rule that is in effect on the days specified
by the list-of-weekdays argument between and including
(Optional) [sequence-number] periodic list-of-weekdays
time to time
Step 4
the specified start and end times. The following keywords
are also valid values for the list-of-weekdays argument:
Example:
switch(config-time-range)# periodic weekdays
06:00:00 to 20:00:00
• daily —All days of the week.
• 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
Displays the time-range configuration.
(Optional) show time-range name
Example:
Step 7
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 8
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
280
Configuring IP ACLs
Creating a Time-Range