46
Task Command
Log off online Web users.
free web-users
{
all
|
user-id
user-id |
user-name
user-name }
Web login control configuration example
Network requirements
As shown in Figure 17, the device is an HTTP server.
Configure the device to provide the HTTP service only to Host B.
Figure 17 Network diagram
Configuration procedure
# Create an ACL and configure rule 1 to permit packets sourced from Host B.
<Sysname> system-view
[Sysname] acl number 2030 match-order config
[Sysname-acl-basic-2030] rule 1 permit source 10.110.100.52 0
# Associate the ACL with the HTTP service so only a Web user on Host B can access the device.
[Sysname] ip http acl 2030
Controlling SNMP access
Use a basic ACL (2000 to 2999) to control SNMP access by source IP address. To access the
requested MIB view, an NMS must use a source IP address permitted by the ACL.
Configuration procedure
To control SNMPv1 or SNMPv2c access, configure ACLs and complete the following configuration:
Step Command Remarks
1. Enter system
view.
system-view
N/A