HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
241
The info-center loghost source command takes effect only after the information center is enabled with the
info-center enable command.
The IP address of the specified egress interface must have been configured. Otherwise, although the
info-center loghost source command can be configured successfully, the log host cannot receive any log.
Examples
# Specify the IP address of interface loopback 0 as the source IP address of logs.
<Sysname> system-view
[Sysname] interface loopback 0
[Sysname-LoopBack0] ip address 2.2.2.2 32
[Sysname-LoopBack0] quit
[Sysname] info-center loghost source loopback 0
info-center security-logfile alarm-threshold
Use info-center security-logfile alarm-threshold to set the alarm threshold for security log file usage.
Use undo info-center security-logfile alarm-threshold to restore the default.
Syntax
info-center security-logfile alarm-threshold usage
undo info-center security-logfile alarm-threshold
Default
The alarm threshold for security log file usage is 80. When the usage of the security log file reaches 80%,
the system outputs a message to inform the administrator.
Views
System view
Predefined user roles
network-admin
Parameters
usage: Specifies an alarm threshold. The value must be an integer in the range of 1 to 100.
Usage guidelines
When the size of the security log file reaches the upper limit, the system deletes the oldest logs and then
writes new logs into the security log file. This feature helps avoid security log loss by setting an alarm
threshold for the security log file usage. When the threshold is reached, the system outputs log
information to inform the administrator. The administrator can log in to the device as the security log
administrator, and back up the security log file.
Examples
# Set the alarm threshold for the security log file usage to 90%.
<Sysname> system-view
[Sysname] info-center security-logfile alarm-threshold 90
Related commands
info-center security-logfile size-quota