5-7
To do… Use the command… Remarks
Define rules for the ACL
rule
[ rule-id ] {
deny
|
permit
}
[
fragment
|
logging
|
source
{ sour-addr sour-wildcard |
any
} |
time-range
time-range-name ] *
Required
Quit to system view
quit
—
Reference the ACL to control Web
users
ip http acl
acl-number Required
Logging off Online Web Users
Perform the following operation to log off online Web users:
To do… Use the command… Remarks
Log off online Web users
free web-users
{
all
|
user-id
user-id |
user-name
user-name }
Required
Use this command in user view
Configuration Example
Network requirements
Configure a basic ACL to allow only Web users that use IP address 10.110.100.52 to access the AP.
Figure 5-3 Configure an ACL to control the access of HTTP users to the AP
Configuration procedure
# Create a basic ACL.
<Sysname> system-view
[Sysname] acl number 2030 match-order config
[Sysname-acl-basic-2030] rule 1 permit source 10.110.100.52 0
# Reference the ACL to allow only Web users using IP address 10.110.100.52 to access the AP.
[Sysname] ip http acl 2030