< Home

display slb httpclass

Function

The display slb httpclass displays the basic configuration information of an HTTP scheduling policy profile for SLB.

Format

display slb httpclass [ httpclass-name ]

Parameters

Parameter Description Value
httpclass-name Specifies the name of an HTTP scheduling policy profile. The specified HTTP scheduling policy profile must already exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the configuration information of HTTP scheduling policy profile a.

<sysname> display slb httpclass a
Httpclass profile information(total 1)
---------------------------------------
Httpclass name          : a
Httpclass ID            : 0
Pattern item number     : 2 
type      mode      pattern-string
Host      exact     example.com
Url       any       example.com/abc.jng
Httpclass action        : close
----------------------------------------
Table 1 Description of the display slb httpclass command output
Item Description

HTTPClass name

HTTP scheduling policy profile name. Run the httpclass command to set this parameter.

HTTPClass ID

HTTP scheduling policy profile ID. Run the httpclass command to set this parameter.

Pattern item number

Number of matching rules

Type

Matching type. The matching types include HOST, URL, Cookie, Referer.

Mode

Matching mode. The matching modes include prefix, suffix, exact, and any matching modes.

Pattern-string

Matching string. When the matching type is URL, the string length after pre-processing cannot be less than 2. Pre-processing means the removal of prefixes "http://" or "https://" in a string.

HTTPClass action

Action of an HTTP scheduling policy profile:
  • Group group name: Distribute traffic between real servers.
  • Close: Close the connection to a real server.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >