COPYING LOG TO FLASH
I. Requirements
- Copy logs with a severity higher than debugging in the flash ,then set size of each log file to 128Kbytes.
- Set size of log buffer to 128Kbytes.
- Record action when user logs in and operates.
- Add system name , sequence number and time stamps to each log entry.
II. Network Topology
III. Configuration Tips
System doesn't copy logs from buffer to flash once finishing configuration, and it costs about half an hour to copy logs from buffer to flash , or the log buffer exceeds.
IV. Configuration Steps
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#logging file flash:syslog 6 ——
>set log file name to "syslog" and system copies all
logs with severity from 0 to 6 to flash
R
uijie(config)#logging file flash:syslog 131072 ——
>set size of each log file in flash to 128K
Ruijie(config)#logging buffered 131072 ——
>set log buffer size to 128K





