163
Verification
# After user Host logs in through Router A, display the user authentication information by using
display
portal user
on Router A and Router B.
[RouterA] display portal user all
Index:3
State:ONLINE
SubState:NONE
ACL:NONE
Work-mode: primary
VPN instance:NONE
MAC IP Vlan Interface
---------------------------------------------------------------------
000d-88f8-0eac 9.9.1.2 0 Gigabitethernet0/1
Total 1 user(s) matched, 1 listed.
[RouterB] display portal user all
Index:2
State:ONLINE
SubState:NONE
ACL:NONE
Work-mode: secondary
VPN instance:NONE
MAC IP Vlan Interface
---------------------------------------------------------------------
000d-88f8-0eac 9.9.1.2 0 Gigabitethernet0/1
Total 1 user(s) matched, 1 listed.
In the above output, see information of user Host on both Router A and Router B. The user's working
mode on Router A is primary, and that on Router B is secondary, which indicate that the user logged in
through Router A and the user information on Router B was synchronized from Router A.
Configuring portal server detection and portal user information
synchronization
Network requirements
As shown in
, a host is directly connected to a router (the access device) and must pass portal
authentication before it can access the Internet. A RADIUS server serves as the
authentication/accounting server.
Detailed requirements are as follows:
•
The host is assigned with a public network IP address either manually or through DHCP. Before
passing portal authentication, the host can access only the portal server. After passing portal
authentication, the host can access the Internet.
•
The access device (Router) can detect whether the portal server is reachable and send trap
messages upon state changes. When the portal server is unreachable due to, for example, a
connection failure, network device failure or portal server failure, the access device can disable
portal authentication, allowing users to access the Internet without authentication.
•
The access device can periodically synchronize portal user information with the portal server.