Verifying The Job Definition - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 19
Scheduling Maintenance Jobs
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
To define a job for the command scheduler, follow these steps:
Command
Step 1
switch# conf t
switch(config)#
Step 2
switch(config)# scheduler job name addMemVsan99
switch(config-job)#
Step 3
switch(config-job)# command1;[command2;command3;...]
switch(config-job-submode)# end
switch#
Example 1:
switch(config-job)# config terminal;vsan database;vsan
99 interface fc1/1 - 4
switch(config-job-config-vsan-db)# end
switch#
Example 2:
switch(config)# scheduler job name offpeakQOS
switch(config-job)# conf t ; qos class-map
offpeakbackupcmap match-all ; match source-wwn
23:15:00:05:30:00:2a:1f ; match destination-wwn
20:01:00:05:30:00:28:df ;exit ; qos policy-map
offpeakbackuppolicy ; class offpeakbackupcmap ;
priority high ; exit ; exit ; qos service policy
offpeakbackuppolicy vsan 1
switch(config-job)# end
switch#
Step 4
exit
Example:
switch(config-job)# exit
switch(config)#
Step 5
show scheduler job [name]
Example:
switch(config)# show scheduler job
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config

Verifying the Job Definition

To verify the job definition, use the show scheduler job command.
switch# show scheduler job addMemVsan99
Job Name: addMemVsan99
----------------------
config terminal
OL-18084-01, Cisco MDS NX-OS Release 4.x
vsan database
vsan 99 interface fc1/1
vsan 99 interface fc1/2
vsan 99 interface fc1/3
Configuring the Command Scheduler
Purpose
Enters the configuration mode.
Defines a job name and enters the job
definition submode
Specifies a sequence of actions for the
specified job. The defined commands
are checked for validity and stored for
future use.
Be sure you exit the
Note
config-job submode.
Provides example of scheduling a set
of configuration commands.
Exits the job configuration mode and
saves the job.
(Optional) Displays the job
information.
(Optional) Saves this configuration
change.
Cisco MDS 9000 Family CLI Configuration Guide
19-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents