To log out users:
Step
1.
Enter system view.
2.
Log out IPv4 portal users.
3.
Log out IPv6 portal users.
Displaying and maintaining portal
Execute display commands in any view and the reset command in user view.
Task
Display portal rules on an interface (centralized
devices).
Display portal rules on an interface (distributed
devices).
Display portal configuration and portal running state
information on an interface.
Display portal authentication server information.
Display portal Web server information.
Display packet statistics for portal authentication
servers.
Display portal user information.
Clear packet statistics for portal authentication
servers.
Portal configuration examples
Configuring direct portal authentication
Network requirements
As shown in
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/authorization server.
Configure direct portal authentication, so the host can access only the portal server before passing the
authentication and access Internet resources after passing the authentication.
Figure
88, the host is directly connected to the router (the access device). The host is
Command
system-view
portal delete-user { ipv4-address | all | interface interface-type
interface-number }
portal delete-user { all | interface interface-type interface-number |
ipv6 ipv6-address }
Command
display portal rule { all | dynamic | static } interface
interface-type interface-number
display portal rule { all | dynamic | static } interface
interface-type interface-number [ slot slot-id ]
display portal interface interface-type
interface-number
display portal server [ server-name ]
display portal web-server [ server-name ]
display portal packet statistics [ server server-name ]
display portal user { all | interface interface-type
interface-number }
reset portal packet statistics [ server server-name ]
311