Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
time-range time-range-name
Example:
Switch(config)# time-range workhours
Step 4
Use one of the following:
• absolute [start time date] [end time date]
• periodic day-of-the-week hh:mm to
[day-of-the-week] hh:mm
• periodic {weekdays | weekend | daily} hh:mm
to hh:mm
Example:
Switch(config-time-range)# absolute start 00:00
1 Jan 2006 end 23:59 1 Jan 2006
or
Switch(config-time-range)# periodic weekdays
8:00 to 12:00
Step 5
end
Example:
Switch(config)# end
Step 6
show running-config
Example:
Switch# show running-config
Step 7
copy running-config startup-config
Example:
Switch# copy running-config startup-config

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

Purpose
Enters the global configuration mode.
Assigns a meaningful name (for example, workhours) to the
time range to be created, and enter time-range configuration
mode. The name cannot contain a space or quotation mark
and must begin with a letter.
Specifies when the function it will be applied to is operational.
• You can use only one absolute statement in the time
range. If you configure more than one absolute
statement, only the one configured last is executed.
• You can enter multiple periodic statements. For
example, you could configure different hours for
weekdays and weekends.
See the example configurations.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
How to Configure ACLs
1201

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents