Cisco SCE8000 Specifications Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 778
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
1-17
Cisco SCE 8000 CLI Command Reference
Chapter 1 Command-Line Interface
Creating a CLI Script
Creating a CLI Script
The CLI scripts feature allows you to record several CLI commands together as a script and play it back.
This is useful for saving repeatable sequence of commands, such as software upgrade. For example, if
you are configuring a group of Cisco SCE platforms and you want to run the same configuration
commands on each platform, you could create a script on one platform and run it on all the other Cisco
SCE platforms. The available script commands are:
script capture
script stop
script print
script run
Step 1 At the SCE8000# prompt, type script capture filename.scr where filename.scr is the name of the script,
with a scr file extension.
Step 2 Perform the actions you want to be included in the script.
Step 3 Type script stop.
The system saves the script.
The following is an example of recording a script for upgrading software.
SCE8000#script capture upgrade.scr
SCE8000#configure
SCE8000(config)#boot system new.pkg Verifying package file...
Package file verified OK.
SCE8000(config)#exit
SCE8000#copy running-config startup-config
Writing general configuration file to temporary location...
Extracting files from ‘//apps/data/scos/images/new.pkg’...
Verifying package file...
Package file verified OK.
Device ‘//apps/data/scos/’ has 81154048 bytes free, 21447973 bytes are needed for
extraction, all is well.
Extracting files to temp locations...
Renaming temp files...
Extracted OK.
Backing-up general configuration file...
Copy temporary file to final location...
SCE8000#script stop
SCE8000#
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 777 778

Comments to this Manuals

No comments