How to Configure the Information Center on HP Switches
Log destinations
The system outputs logs to the following destinations:
1. console
2. monitor terminal
3. log buffer
4. log host
5. log file
Log output destinations are independent and you can configure them after enabling the information center.
Log formats
https://techhub.hpe.com/eginfolib/net...
EXAMPLE CONFIGURATION:
system-view
info-center enable
info-center logbuffer (Default)
info-center logbuffer size buffersize (By default, the log buffer can store 512 logs.)
info-center logfile size-quota size (By default, the maximum size of the log file is 10 MB.)
info-center logfile enable (By default, the log file feature is enabled.)
info-center logfile directory [dir-name] (The default directory is flash:/logfile. The configuration made by this command cannot survive an IRF reboot or a master/subordinate switchover.)
info-center timestamp date (Default)
info-center timestamp loghost date (Default)
info-center loghost 10.23.20.14
save force
VERIFICATION:
display diagnostic-logfile summary
display logbuffer reverse
display logbuffer
display info-center
display content of flash:/logfile, follow procecure below:
cd logfile
dir
Directory of flash:/logfile
The directory is empty.
1046512 KB total (1046432 KB free)
more logfile.log
How to Configure NTP in client/server mode on HP Switches
EXAMPLE CONFIGURATION:
system-view
clock timezone GMT add 00:00:00
#
ntp-service enable
ntp-service unicast-server 10.23.24.10
VERIFICATION:
display ntp-service status
display ntp-service sessions
display clock
REFERENCES:
https://techhub.hpe.com/eginfolib/net...
#hpe #ccna