3Com 4210 PWR Configuration Manual page 67

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

Configuration Example
Table 34 Control Web users by source IP addresses
Operation
Enter system view
system-view
Create a basic ACL or
acl number acl-number [
enter basic ACL view
match-order { config | auto } ]
Define rules for the
rule [ rule-id ] { deny | permit } [
ACL
rule-string ]
Quit to system view
quit
Apply the ACL to
ip http acl acl-number
control Web users
Disconnecting a Web User by Force
The administrator can disconnect a Web user by force using the related
commands.
Table 35 Disconnect a Web user by force
Operation
Disconnect a Web
free web-users { all | user-id
user by force
user-id | user-name user-name }
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
Internet
Switch
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
Command
Command
PC
10.110.100.52
User Control
Description
-
As for the acl number command,
the config keyword is specified by
default.
Required
-
Optional
By default, no ACL is applied for
Web users.
Description
Required
Execute this command in user
view.
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents