< Home

slb httpclass commit

Function

The slb httpclass commit command submits the HTTP scheduling policy that defines URL-, HOST-, Referer-, and cookie-based SLB.

Format

slb httpclass commit

Parameters

None

Views

SLB configuration view

Default Level

2: Configuration level

Usage Guidelines

When an HTTP scheduling policy profile is created, the URL-, HOST-, Referer-, and Cookie-based SLB rules can be defined. After an HTTP scheduling policy profile is referenced by the virtual server, it will take effect only after submission by the slb httpclass commit command. Otherwise, it does not take effect.

Example

# Configure a virtual server to reference and submit HTTP scheduling policy profile a.

<sysname> system-view
[sysname] slb
[sysname-slb] vserver 0 a
[sysname-slb-vserver-0] httpclass a 
 Warning:The configuration needs to commit to take effect.
[sysname-slb-vserver-0] quit
[sysname-slb] slb httpclass commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >