R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

189
Ste
p
Command
Remarks
7. Configure the directory to
save the log files.
info-center logfile switch-directory
dir-name
Optional.
By default, the log file is saved in
the logfile directory under the root
directory of the storage device (the
root directory of a storage device
varies with devices).
The configuration made by this
command cannot survive a system
reboot.
8. Manually save logs in the log
file buffer to a log file.
logfile save
Optional.
Available in any view.
By default, the system saves logs in
the log file buffer to a log file at the
interval configured by the
info-center logfile frequency
command.
The following matrix shows feature and router compatibility:
Feature MSR900 MSR93X
MSR20-1
X
MSR20 MSR30 MSR50
MSR1
000
Log file feature Yes. Yes. No. Yes. Yes. Yes. Yes.
Saving system information to a log file (MSR20-1X)
Task Command Remarks
Enable the log file feature. logfile { enable | disable }
Optional.
Disabled by default.
To make the new configuration take
effect, reboot the router.
Display whether the log file feature
is enabled.
display logfile status Optional.
The following matrix shows the feature and router compatibility:
Feature MSR900 MSR93X
MSR20-1X MSR20 MSR30 MSR50
MSR100
0
Log file feature No No Yes No No No No
Managing security logs
Security logs are very important for locating and troubleshooting network problems. Generally, security
logs are output together with other logs. It is difficult to identify security logs among all logs.