HP 800 User Manual page 373

Procurve network access controller 800
Hide thumbs Also See for 800:
Table of Contents

Advertisement

expect [OPTIONS] TEXT
send [OPTIONS] TEXT
The expect scripts use the following commands:
Command
expect [OPTIONS]
TEXT
send [OPTIONS] TEXT
Table 11-1. Expect Script Commands and Parameters
Expect Script Variables: Variables referenced with the syntax ${VARIABLE_NAME}
will be substituted with the value of the variable at execution time.
The following variables may be referenced anywhere:
USERNAME – The username used to log in to the device
PASSWORD – The password used to log in to the device
ENABLE_USERNAME – The username used to enter enable mode
ENABLE_PASSWORD – The password used to enter enable mode
input"
Description and parameters
Waits for TEXT to appear on the connection input
Where
regex
Interprets the expect string as a (Java 1.5) regular expression.
ifmatched
Skips the command if the value captured from the last regular
expression doesn't match the specified expression (the expression
may contain spaces if wrapped in double quotes).
ifset
Skips the command if the specified variable is not set.
Writes text to the connection output followed by a carriage return.
Where
noreturn
Omits the carriage return.
ifmatched
Skips the command if the value captured from the last regular
expression doesn't match the specified expression (the expression
may contain spaces if wrapped in double quotes).
ifset
Skips the command if the specified variable is not set.
| "Waits for TEXT to appear on connection
| "Writes TEXT to connection output"
is one of three optional parameters:
OPTION
OPTION
is one of three optional parameters:
802.1X Quarantine Method
Setting up the 802.1X Components
.
11-59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve nac 800

Table of Contents