R0106-HP MSR Router Series Security Command Reference(V7)
181
Related commands
display portal packet statistics
server-detect (portal authentication server view)
Use server-detect to enable portal authentication server detection. After server detection is enabled for
a portal authentication server, the device periodically detects portal packets from the server to identify its
reachability status.
Use undo server-detect to restore the default.
Syntax
server-detect [ timeout timeout ] { log | trap } *
undo server-detect
Default
Portal authentication server detection is disabled.
Views
Portal authentication server view
Predefined user roles
network-admin
Parameters
timeout timeout: Specifies the detection timeout in the range of 10 to 3600 seconds. The default is 60
seconds.
{ log | trap } *: Specifies the action to be taken after the device detects reachability status change of the
portal authentication server. You can select one of the following options or both:
• log—When reachability status of the portal authentication server changes, the device sends a log
message. The log message contains the name, the original state, and the current state of the portal
authentication server.
• trap—When reachability status of the portal authentication server changes, the device sends a trap
message to the NMS. The trap message contains the name and the current state of the portal
authentication server.
Usage guidelines
The portal authentication server detection function is effective only when the portal authentication server
supports server heartbeat. Now only the IMC portal authentication server supports server heartbeat.
If the device receives portal packets from the portal authentication server before the detection timeout
expires and verifies the correctness of the packets, the device considers the portal authentication server
is reachable. Otherwise, the device considers the portal authentication server is unreachable.
Examples
# Enable server detection for portal authentication server pts:
• Set the detection timeout to 600 seconds.
• Configure the device to send a log message and a trap message if the server reachability status
changes.
<Sysname> system-view
[Sysname] portal server pts










