The log function of the vro configures the log function on the vro1. 1. logging on // enables the log function of the vro. The default value is open 2. logging console // displays the log on the console, the default value is www.2cto.com. 3. logging monitor // displays logs on a remote user's terminal, the user has to execute the "terminal monitor" command in privileged mode on the terminal 4. logging buffer // record logs in the memory, use the "show logging" command to view logs. 5. logging host 192.168.1.1 // send the router logs to the dedicated Log Server 6. logging trap debugging // record information that is worse than debugging in the log, the log has the following levels (0 ~ 7). Generally, 0 is the most serious and level 7 is the least important. For debug information www.2cto.com 7 and logging origin-id ip, it indicates that the router will use the ip address with the most ID when sending logs, you can also use the host name. 8. service timestamps log // indicates the log to be added with the occurrence time 9, service timestamps log datatime // use the absolute time record 10, service sequence-numbers // indicates the log to be appended with the serial number. 11. logging source-interface f0/0ip address: Send Logs to the server using the ip address of the f0/0 interface to the server. 12. logging facility local7 // define the recorded event as local7.