HP 800 User Manual page 358

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

Advertisement

802.1X Quarantine Method
Setting up the 802.1X Components
Command
expect [OPTIONS]
TEXT
send [OPTIONS] TEXT
Table 11-1. Expect Script Commands and Parameters
11-58
send exit
expect #
send exit
expect press <Return> or <Enter> to select option.
send -noreturn l
Figure 11-41. Nortel Exit Script
Expect Script Commands:
expect [OPTIONS] TEXT
connection input"
send [OPTIONS] TEXT
The expect scripts use the following commands:
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
| "Writes TEXT to connection output"
OPTION
is one of three optional parameters:
is one of three optional parameters:
OPTION
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve nac 800

Table of Contents