beautypg.com

Logging out portal users, Displaying and maintaining portal, Portal configuration examples – H3C Technologies H3C S6300 Series Switches User Manual

Page 122: Configuring direct portal authentication, Network requirements

background image

107

Logging out portal users

Logging out a user terminates the authentication process for the user or removes the user from the
authenticated users list.
To log out users:

Step Command

1.

Enter system view.

system-view

2.

Log out IPv4 portal users.

portal delete-user { ipv4-address | all | interface interface-type
interface-number
}

3.

Log out IPv6 portal users.

portal delete-user { all | interface interface-type interface-number |
ipv6 ipv6-address }

Displaying and maintaining portal

Execute display commands in any view and the reset command in user view.

Task Command

Display portal rules on an interface.

display portal rule { all | dynamic | static } interface
interface-type interface-number [ slot slot-id ]

Display portal configuration and portal running state
information on an interface.

display portal interface interface-type
interface-number

Display portal authentication server information.

display portal server [ server-name ]

Display portal Web server information.

display portal web-server [ server-name ]

Display packet statistics for portal authentication
servers.

display portal packet statistics [ server server-name ]

Display portal user information.

display portal user { all | interface interface-type
interface-number
}

Clear packet statistics for portal authentication
servers.

reset portal packet statistics [ server server-name ]

Portal configuration examples

Configuring direct portal authentication

Network requirements

As shown in

Figure 36

, the host is directly connected to the switch (the access device). The host is

assigned with a public IP address either manually or through DHCP. A portal server serves as both a
portal authentication server and a portal Web server. A RADIUS server serves as the

authentication/accounting server.