ADTRAN AOS Version R10.1.0 Command Reference Manual page 2949

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
expect status <minimum> <maximum>
Use the expect status command to configure the probe to expect a specific status code in response to an
Hypertext Transfer Protocol (HTTP) request message. If a different status code is returned, the probe fails.
Use the no form of this command to return to the default setting. Variations of this command include:
expect status <minimum>
expect status <minimum> <maximum>
Syntax Description
<minimum>
<maximum>
Default Values
By default, there is no setting for this command.
Command History
Release 13.1
Functional Notes
This command can only be executed while in the probe <name> http-request command set.
Specifying only a minimum value indicates only one value can match the status code. Entering a maximum
value indicates a range of possible matches.
Usage Examples
The following example configures probe1 to expect a status code of 200 (the status of a successful HTTP
request):
(config)#probe probe1 http-request
(config-probe-probe1)#expect status 200
60000CRG0-35E
Specifies a minimum number value for the status code. Valid range is
0 to 999.
Optional. Specifies a maximum number to create a range of status codes.
Valid range is 0 to 999.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
Network Monitor Probe Command Set
2949

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AOS Version R10.1.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents

Save PDF