3-7
To do…
Use the command…
Remarks
Required
free web-users
{
all
|
user-id user-id
|
user-name user-name
}
Disconnect a Web user
by force
Available in user view
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 3-3
Network diagram for controlling Web users using ACLs
Configuration procedure
# Define a basic ACL.
<Sysname> system-view
[Sysname] acl number 2030
[Sysname-acl-basic-2030] rule 1 permit source 10.110.100.52 0
[Sysname-acl-basic-2030] quit
# Apply ACL 2030 to only permit the Web users sourced from the IP address of 10.110.100.52 to access
the switch.
[Sysname] ip http acl 2030