The slb httpclass commit command submits the HTTP scheduling policy that defines URL-, HOST-, Referer-, and cookie-based SLB.
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.
# 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