Chapter 27 Schedules

The following table lists the schedule commands.

Table 109 schedule Commands

COMMAND

DESCRIPTION

show schedule-object

Displays information about the schedules in the

 

NXC.

no schedule-object object_name

Deletes the schedule object.

schedule-object list

Lists all schedules configured on the NXC.

schedule-objectobject_name date time date

Creates or updates a one-time schedule.

time

date: yyyy-mm-dd date format; yyyy-<01..12>-

 

<01..31>

 

 

schedule-objectobject_name time time [day]

Creates or updates a recurring schedule.

[day] [day] [day] [day] [day] [day]

day: 3-character day of the week; sun mon tue

 

wed thu fri sat

27.2.1 Schedule Command Examples

The following commands create recurring schedule SCHEDULE1 and one-time schedule SCHEDULE2 and then delete SCHEDULE1.

Router# configure terminal

Router(config)# schedule-object SCHEDULE1 11:00 12:00 mon tue wed thu fri Router(config)# schedule-object SCHEDULE2 2006-07-29 11:00 2006-07-31 12:00

Router(config)# show schedule-object

Start/End

Ref.

Object name

Type

===========================================================================

SCHEDULE1

Recurring 11:00/12:00 ===MonTueWedThuFri=== 0

SCHEDULE2

Once

2006-07-29 11:00/2006-07-31 12:00 0

Router(config)# no schedule-object SCHEDULE1

 

Router(config)# show schedule-object

Start/End

Ref.

Object name

Type

===========================================================================

SCHEDULE2

Once

2006-07-29 11:00/2006-07-31 12:00 0

186

 

NXC CLI Reference Guide