171
# Enable Layer 3 portal authentication on the interface connecting the user side.
[RouterA] interface gigabitethernet 1/0/1
[RouterA–Gigabitethernet1/0/1] portal server newpt method layer3
[RouterA–Gigabitethernet1/0/1] quit
Verification
Execute
display portal server
to check whether the portal configuration has taken effect. After Host
passes portal authentication, perform
display portal user
to view information about online portal users
on Router A.
[RouterA] display portal user all
Index:2
State:ONLINE
SubState:NONE
ACL:NONE
Work-mode:stand-alone
VPN instance:vpn1
MAC IP Vlan Interface
----------------------------------------------------------------------------
000d-88f7-c268 3.3.0.1 0 Gigabitethernet1/0/1
Total 1 user(s) matched, 1 listed.
Troubleshooting portal
Inconsistent keys on the access device and the portal server
Symptom
When a user is forced to access the portal server, the portal server displays a blank webpage rather
than the portal authentication page or an error message.
Analysis
The keys configured on the access device and the portal server are inconsistent, causing CHAP message
exchange failure. As a result, the portal server does not display the authentication page.
Solution
•
Use
display portal server
to display the key for the portal server on the access device, and view the
key for the access device on the portal server.
•
Use
portal server
to modify the key on the access device or modify the key for the access device on
the portal server to ensure that the keys are consistent.