Contents
xii
Cisco Content Services Switch Administration Guide
OL-5647-02
CHAPTER
8 Using the CSS Scripting Language 8-1
Script Considerations 8-2
Playing a Script 8-2
Using the Command Scheduler 8-3
Showing Configured Command Scheduler Records 8-5
Using the echo Command 8-6
Using Commented Lines 8-6
Using the “! no echo” Comment 8-7
Using Variables 8-8
Creating and Setting Variables 8-8
Variable Types 8-9
Removing Variables 8-10
Modifying Integer Variables 8-10
Using the No Set and Set Commands 8-10
Using Arithmetic Operators 8-11
Using the Increment and Decrement Operators 8-12
Using Logical and Relational Operators and Branch Commands 8-13
Boolean Logic and Relational Operators 8-13
Using the if Branch Command 8-14
Using the while Branch Command 8-15
Special Variables 8-16
Informational Variables 8-16
CONTINUE_ON_ERROR Variable 8-16
STATUS Variable 8-18
EXIT_MSG Variable 8-19
SOCKET Variable 8-20
Using the show variable Command 8-21