< Home

httpclass move

Function

The httpclass move command adjusts the matching priority of a referenced HTTP scheduling policy profile.

Format

httpclass move httpclass-name1 { before | after } httpclass-name2

Parameters

Parameter Description Value
httpclass-name1 Specifies the name of an HTTP scheduling policy profile. -
before Indicates that HTTPClass-name1 is moved before HTTPClass-name2. -
after Indicates that HTTPClass-name1 is moved after HTTPClass-name2. -

Views

Virtual server view

Default Level

2: Configuration level

Usage Guidelines

Each virtual server can reference a maximum of eight HTTP scheduling policy profiles. The priority is matched according to the reference sequence. If an HTTP scheduling policy profile of high priority is matched successfully, it does not go on matching.

The httpclass move command is used to adjust the matching priority of an HTTP scheduling policy profile.

Example

# Enable a virtual server to reference HTTP scheduling policy profile a, b, and c, and move a after b.

<sysname> system-view
[sysnaem] slb
[sysname-slb] vserver 0 a
[sysname-slb-vserver-0] httpclass a
[sysname-slb-vserver-0] httpclass b
[sysname-slb-vserver-0] httpclass c
[sysname-slb-vserver-0] httpclass move a after b
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >