To configure Web authentication to support a Web proxy:
Step
1.
Enter system view.
2.
Add a Web proxy server port
number.
Displaying and maintaining Web authentication
Execute display commands in any view.
Task
Display Web authentication configuration
information on interfaces.
Display Web authentication-free subnets.
Display Web authentication server information.
(In standalone mode.) Display Web authentication
user information.
(In IRF mode.) Display Web authentication user
information.
Web authentication configuration examples
Web authentication using the local authentication server
Network requirements
As shown in
Configure Web authentication to meet the following requirements:
•
The device performs local Web authentication on users that access the network through
GigabitEthernet 1/0/1.
•
The device pushes customized Web authentication pages to users and use HTTP to transfer
the authentication data.
Figure 154 Network diagram
Host
2.2.2.2/24
Command
system-view
web-auth proxy port
port-number
Figure
154, the host is connected to the device through GigabitEthernet 1/0/1.
Loop0
20.20.0.1/24
Vlan-int100
2.2.2.1/24
GE1/0/1
Device
Command
display web-auth [ interface interface-type
interface-number ]
display web-auth free-ip
display web-auth server [ server-name ]
display web-auth user [ interface interface-type
interface-number | slot slot-number ]
display web-auth user [ interface interface-type
interface-number | chassis chassis-number slot
slot-number ]
Internet
507
Remarks
N/A
By default, no Web proxy server
port number is configured and
proxied HTTP requests cannot
trigger Web authentication.