ADTRAN AOS Version R10.1.0 Command Reference Manual page 2948

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
expect regex <expression>
Use the expect regex command to configure the probe to expect a regular expression inside the contents of
the Hypertext Transfer Protocol (HTTP) response message. If the regular expression does not match
anything, the probe fails. Use the no form of this command to return to the default setting.
Syntax Description
<expression>
Default Values
By default, no regular expression is defined.
Command History
Release 13.1
Functional Notes
This command can only be executed while in the probe <name> http-request command set.
Usage Examples
The following example only allows the probe1 test to pass if the word success is found in the HTTP server
response message:
(config)#probe probe1 http-request
(config-probe-probe1)#expect regex success
60000CRG0-35E
Specifies the expression to display.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
Network Monitor Probe Command Set
2948

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents