
330
Task Command
(In IRF mode.) Clear statistics for attacked
destination IP addresses in portal HTTP attack
defense.
reset portal http-defense attacked-ip
[
chassis
chassis-number
slot
slot-number
]
(In standalone mode.) Clear statistics for blocked
destination IP addresses in portal HTTP attack
defense.
reset portal http-defense blocked-ip
[
ip
ipv4-address
|
ipv6
ipv6-address
] [
slot
slot-number
]
(In IRF mode.) Clear statistics for blocked
destination IP addresses in portal HTTP attack
defense.
reset portal http-defense blocked-ip
[
ip
ipv4-address |
ipv6
ipv6-address
] [
chassis
chassis-number
slot
slot-number
]
Clear packet statistics for portal authentication
servers.
reset portal packet statistics
[
server
server-name
]
(In standalone mode.) Display Web redirect rule
information.
display web-redirect rule interface interface-type
interface-number
[
slot
slot-number
]
(In IRF mode.) Display Web redirect rule information.
display web-redirect rule interface interface-type
interface-number
[
chassis
chassis-number
slot
slot-number
]
Portal configuration examples
Example: Configuring direct portal authentication
Network configuration
As shown in
, the host is directly connected to the router (the access device). The host is
assigned a public IP address either manually or through DHCP. A portal server acts as both a portal
authentication server and a portal Web server. A RADIUS server acts as the
authentication/accounting server.
Configure direct portal authentication, so the host can access only the portal server before passing
the authentication and access other network resources after passing the authentication.
Figure 99 Network diagram
Configuration prerequisites
•
Configure IP addresses for the host, router, and servers as shown in
and make sure
they can reach each other.
•
Configure the RADIUS server correctly to provide authentication and accounting functions.
Router
Host
2.2.2.2/24
Gateway: 2.2.2.1/24
GE1/0/2
2.2.2.1/24
GE1/0/1
192.168.0.100/24
Portal server
192.168.0.111/24
RADIUS server
192.168.0.112/24