User Control 65
Disconnecting a Web User by Force
The administrator can disconnect a Web user by force using the related
commands.
Configuration Example Network requirements
Only the Web users sourced from the IP address of 10.110.100.52 are permitted
to access the switch.
Network diagram
Figure 28 Network diagram for controlling Web users using ACLs
Configuration procedure
# Define a basic ACL.
<4210> system-view
[4210] acl number 2030
[4210-acl-basic-2030] rule 1 permit source 10.110.100.52 0
[4210-acl-basic-2030] quit
Tab le 34 Control Web users by source IP addresses
Operation Command Description
Enter system view system-view -
Create a basic ACL or
enter basic ACL view
acl number acl-number [
match-order { config | auto } ]
As for the acl number command,
the config keyword is specified by
default.
Define rules for the
ACL
rule [ rule-id ] { deny | permit } [
rule-string ]
Required
Quit to system view quit -
Apply the ACL to
control Web users
ip http acl acl-number Optional
By default, no ACL is applied for
Web users.
Tab le 35 Disconnect a Web user by force
Operation Command Description
Disconnect a Web
user by force
free web-users { all | user-id
user-id | user-name user-name }
Required
Execute this command in user
view.
Switch
PC
10.110.100.52
Internet