beautypg.com

1 prerequisites, 2 controlling web users by source ip addresses, 3 disconnecting a web user by force – H3C Technologies H3C S3100 Series Switches User Manual

Page 89: S in, 3 “disconnecting a, Web user by force

background image

Operation Manual – Login

H3C S3100-52P Ethernet Switch

Chapter 8 User Control

8-8

You need to perform the following two operations to control Web users by source IP
addresses.

z

Defining an ACL

z

Applying the ACL to control Web users

8.4.1 Prerequisites

The controlling policy against Web users is determined, including the source IP
addresses to be controlled and the controlling actions (permitting or denying).

8.4.2 Controlling Web Users by Source IP Addresses

Controlling Web users by source IP addresses is achieved by applying basic ACLs,
which are numbered from 2000 to 2999.

Table 8-6

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 ] { permit |

deny

} [ fragment | source

{ sour-addr sour-wildcard |
any

} | time-range

time-name

]*

Required

Quit to system view

quit

Apply the ACL to

control Web users

ip http acl

acl-number

Optional

8.4.3 Disconnecting a Web User by Force

The administrator can disconnect a Web user by force using the related command.

Table 8-7

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.